We use pkg_resources in multiple places throughout the desi code repos, e.g. to find configuration files or yaml files for bitmasks. Apparently that is now deprecated; see https://setuptools.pypa.io/en/latest/pkg_resources.html, which I learned about from esheldon/fitsio#360
We don't get that message using our latest desiconda environment at NERSC (python 3.10.8 with setuptools 65.6.3).
We use
pkg_resources
in multiple places throughout the desi code repos, e.g. to find configuration files or yaml files for bitmasks. Apparently that is now deprecated; see https://setuptools.pypa.io/en/latest/pkg_resources.html, which I learned about from esheldon/fitsio#360We don't get that message using our latest desiconda environment at NERSC (python 3.10.8 with setuptools 65.6.3).
The suggested alternative is
importlib.resources
@weaverba137 heads up