Skip to content

Commit

Permalink
Merge pull request #1906 from Unidata/dependabot-pip-ci-pooch-1.4.0
Browse files Browse the repository at this point in the history
MNT: (deps): Bump pooch from 1.3.0 to 1.4.0 in /ci
  • Loading branch information
dopplershift committed Jun 9, 2021
2 parents 838c319 + 94ac6ff commit 06c3bac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ importlib_resources==5.1.4
matplotlib==3.4.2
numpy==1.20.3
pandas==1.2.4
pooch==1.3.0
pooch==1.4.0
pint==0.17
pyproj==3.0.1
scipy==1.6.3
Expand Down
7 changes: 6 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@
os.environ['PINT_ARRAY_PROTOCOL_FALLBACK'] = '0'
import pint # noqa: I100, E402

try:
pooch_version = pooch.__version__
except AttributeError:
pooch_version = pooch.version.full_version


def pytest_report_header(config, startdir):
"""Add dependency information to pytest output."""
return (f'Dep Versions: Matplotlib {matplotlib.__version__}, '
f'NumPy {numpy.__version__}, Pandas {pandas.__version__}, '
f'Pint {pint.__version__}, Pooch {pooch.version.full_version}\n'
f'Pint {pint.__version__}, Pooch {pooch_version}\n'
f'\tPyProj {pyproj.__version__}, SciPy {scipy.__version__}, '
f'Traitlets {traitlets.__version__}, Xarray {xarray.__version__}')

Expand Down

0 comments on commit 06c3bac

Please sign in to comment.