Closed neutrinoceros closed 1 year ago
Note that the warning I pasted is from mpl_toolkit
, not glue
, but glue would cause it on its own because it's also using pkg_resources.get_distribution
.
For reference the issue has been reported upstream too as https://github.com/matplotlib/matplotlib/issues/25244
Describe the bug
pkg_resources.get_distribution
was changed insetuptools
67.3, released last week, and now raises a deprecation warning on import.pkg_resources
as a whole is legacy and should be avoided, in particular because it creates a de facto runtime dependency on setuptools, which is currently undeclared.To Reproduce
output
Expected behavior should return without error
Details:
python --version
): allglue --version
): 1.7.0I should be able to patch
pkg_resources
out completely.