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

add python 3.12 support #13

Merged
merged 7 commits into from Feb 17, 2024
Merged

add python 3.12 support #13

merged 7 commits into from Feb 17, 2024

Conversation

thrau
Copy link
Member

@thrau thrau commented Feb 17, 2024

Various changes to make plux 3.12 compatible.

  • add setuptools to dev dependencies (needed by the CLI)
  • vendor two pkg_resources utils functions and remove it as dependency
  • replace distutils imports with appropriate setuptools imports
  • use metadata.Distribution to correctly resolve entry_points.txt

This PR also shows that a lot of modernization and cleanup is needed to better separate build tools (setuptools) from runtime tools (metadata&importlib), and use the current APIs correctly.

@thrau thrau merged commit 1e5157d into main Feb 17, 2024
6 checks passed
@thrau thrau deleted the python312 branch February 17, 2024 23:50
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.

None yet

1 participant