Skip to content

add python 3.12 support#13

Merged
thrau merged 7 commits intomainfrom
python312
Feb 17, 2024
Merged

add python 3.12 support#13
thrau merged 7 commits intomainfrom
python312

Conversation

@thrau
Copy link
Copy Markdown
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
@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.

1 participant