xarray-contrib/cf-xarray

Pooch is missing from xf_xarray dependencies

Zeitsperre opened this issue · 2 comments

import pooch

Ran into an issue on some projects due to the new pooch requirement:

   ...
   File "/home/runner/work/RavenPy/RavenPy/.tox/py38/lib/python3.8/site-packages/cf_xarray/accessor.py", line 2048, in add_canonical_attributes
    info, table, aliases = parse_cf_standard_name_table(source)
  File "/home/runner/work/RavenPy/RavenPy/.tox/py38/lib/python3.8/site-packages/cf_xarray/utils.py", line 85, in parse_cf_standard_name_table
    import pooch
ModuleNotFoundError: No module named 'pooch'

I know it's a very small change, but I think pooch should be bundled with cf_xarray.

I chose to put it as an optional dependency in pyproject.toml because not everyone needs it.

Ah, I didn't see that it was added to an installation recipe. My bad!

Best!