-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add Python 3.13 support and drop Python 3.9 support (#522)
This change accounts for the release of Python 3.13, which happened 07 OCT 2024. Anyone tracking this repository and this change should update their use of `pyenv` locally, to include py3.13.x. Changes made to add Python 3.13 support include: * Update the Docker base image version * Update the CONTRIBUTING documentation * Update the testing environments in `tox`, workflows, and unit tests * Update `pyproject.toml` and generate an updated `poetry.lock` lockfile * The existing `poetry-core` specified minimum requirement still works Changes made to remove Python 3.9 support include: * Update `pyproject.toml` and regenerate `poetry.lock` * Upgrade target version for QA tools * Use the `--fix` option of `ruff` to automatically update code * Use the pipe (`|`) operator for type annotations everywhere possible * Use `collections.abc.Callable` instead of `typing.Callable` * Make use of parenthesized context managers * Make use of match statement when parsing analysis results * Update tests * Remove Python 3.9 from `tox` config * Update the test workflow * Update the test for supported Python versions * Update documentation and remove references to Python 3.9 Closes: #488 Closes: #357 BREAKING CHANGE: Support for Python 3.9 was removed.
- Loading branch information
Showing
28 changed files
with
136 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ on: | |
- main | ||
|
||
env: | ||
PYTHON_VERSION: "3.12" | ||
PYTHON_VERSION: "3.13" | ||
POETRY_VERSION: "1.8.5" | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ on: | |
default: false | ||
|
||
env: | ||
PYTHON_VERSION: "3.12" | ||
PYTHON_VERSION: "3.13" | ||
POETRY_VERSION: "1.8.5" | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.