AMA-Labs / cal-notebooks

CEOS Analytics Laboratory notebooks and tools
0 stars 1 forks source link

[Upstream] Datacube uses deprecated pkg_resources API #4

Closed jdh-ama closed 9 months ago

jdh-ama commented 11 months ago

Impacts all notebooks.

/env/lib/python3.10/site-packages/datacube/drivers/driver_cache.py:54: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html

The warning provides the fix. We should either update datacube in our environment or coordinate with datacube-core to get this fixed.

jdh-ama commented 11 months ago

Issue opendatacube/datacube-core#1464

jdh-ama commented 11 months ago

The fix is to update datacube to 1.8.14 or later.

jdh-ama commented 9 months ago

datacube has been updated to 1.8.16.