Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pkg_resources migration #528

Open
jpmckinney opened this issue Jul 25, 2024 · 0 comments
Open

pkg_resources migration #528

jpmckinney opened this issue Jul 25, 2024 · 0 comments

Comments

@jpmckinney
Copy link
Contributor

jpmckinney commented Jul 25, 2024

It is deprecated in Python 3.12.

pkg_resources.find_distributions might be replaced by importlib_metadata distributions() or Distribution.discover() https://importlib-metadata.readthedocs.io/en/stable/migration.html#pkg-resources-find-distributions

distribution.get_entry_info might be replaced by https://docs.python.org/3/library/importlib.metadata.html#entry-points

I don't know what replaces distribution.activate()

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant