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

pkg_resources deprecated with Python 3.12 #37

Merged
merged 5 commits into from
Dec 15, 2024

Conversation

jotelha
Copy link
Member

@jotelha jotelha commented Dec 13, 2024

The use of pkg_resources has been deprecated with Python 12, see #29

This PR uses importlib.metadata.entry_points instead, see https://www.perplexity.ai/search/is-pkg-resources-deprecated-wi-P461N47NSXuy4HoaxbML2A#0.

This will, however, likely break for Python < 3.10-

@jotelha
Copy link
Member Author

jotelha commented Dec 13, 2024

Implemented Python-version specific entrypoint handling.

@jotelha jotelha marked this pull request as ready for review December 13, 2024 10:43
Copy link
Contributor

@tjelvar-olsson tjelvar-olsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@jotelha jotelha merged commit 00ff72a into jic-dtool:master Dec 15, 2024
7 checks passed
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.

2 participants