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

Explicitly use Python 3.11 everywhere #218

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

CasperWA
Copy link
Owner

Closes #217

Explicitly uses Python 3.11 everywhere. This version is chosen as it is new, but with plenty of patch versions already in place, so not on the edge of "new-ness" (currently latest stable version is 3.12.1).

Add (and run) pyupgrade as a pre-commit hook with the arg --py311-plus.

Python 3.11 has explicitly been used now in:

  • CI/CD workflows for the actions/setup-python action.
  • the Docker image (using python:3.11-alpine now).
  • the Python package metadata - not significant, but informational.

In the:
- CI/CD
- Dockerfile
- Python package metadata

Add pyupgrade pre-commit hook, setting it to run with arg
`--py311-plus`.
@CasperWA CasperWA merged commit d60e99f into main Dec 11, 2023
11 checks passed
@CasperWA CasperWA deleted the cwa/close-217-sync-python-version branch December 11, 2023 13:22
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.

Be explicit and match up Python versions
1 participant