usnistgov / fipy

FiPy is a Finite Volume PDE solver written in Python
http://pages.nist.gov/fipy/en/latest
Other
506 stars 148 forks source link

Migrate pkg_resources to importlib #945

Closed guyer closed 1 year ago

guyer commented 1 year ago

pkg_resources is deprecated, but importlib.resources requires Python 3.7 and importlib.metadata requires Python 3.8.

Fixes #944

guyer commented 1 year ago

[!IMPORTANT] pkg_resources still used in fipy.tests.test(). It's unclear what the modern equivalent is of EntryPoint.parse() and, anyway, all of this raises

WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.