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

Py version bump, convert to pyproject.toml setup and general cleanup #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

JedMeister
Copy link
Member

As per the subject, this PR bumps the python version (to >= 3.11), converts the project from using setup.py to pyproject.toml, and updates to the python code (typing tweaks and updates, linting and general cleanup).

No rush to merge this as we won't really need it until we get to 13/Trixe base (i.e. v19.x).

FYI my main motivation to do this is to get a handle on how the process of moving from setup.py to the more modern pyproject.toml config for building the package. Hopefully this will be able to serve as an example for updating other turnkey packages. The other stuff was mostly just tidying.

The only change that may be somewhat controversial is my replacement of Union with |. IMO it's cleaner and easier reading (use of '|' requires python v3.10+).

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