Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Replace deprecated pkgutil.find_loader() #3043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

penguinpee
Copy link

That method has been deprecated in Python 3.12 and will be removed from
Python 3.14. Replace it with a direct call to
importlib.util.find_spec(), which pkgutil.find_loader() was wrapping
around.

That method has been deprecated in Python 3.12 and will be removed from
Python 3.14. Replace it with a direct call to
`importlib.util.find_spec()`, which `pkgutil.find_loader()` was wrapping
around.
@penguinpee
Copy link
Author

For the removal changelog entry see:

https://docs.python.org/dev/whatsnew/3.14.html#pkgutil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant