Skip to content

Commit

Permalink
Add support for Python v3.13 and drop support for v3.9 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic authored Oct 15, 2024
1 parent e6b9b50 commit bb20429
Show file tree
Hide file tree
Showing 6 changed files with 541 additions and 523 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
secrets: inherit
with:
matrix-os-version: "[ 'ubuntu-latest' ]"
matrix-python-version: "[ '3.9', '3.10', '3.11', '3.12' ]" # run Linux tests on all supported Python versions
matrix-python-version: "[ '3.10', '3.11', '3.12', '3.13' ]" # run Linux tests on all supported Python versions
enable-coveralls: true # only report to coveralls.io for tests that run on Linux
macos-build-and-test:
name: "MacOS"
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v6
secrets: inherit
with:
matrix-os-version: "[ 'macos-latest' ]"
matrix-python-version: "[ '3.12' ]" # only run MacOS tests on latest Python
matrix-python-version: "[ '3.13' ]" # only run MacOS tests on latest Python
enable-coveralls: false
release:
name: "Release"
Expand All @@ -37,5 +37,5 @@ jobs:
needs: [ linux-build-and-test, macos-build-and-test ]
secrets: inherit
with:
python-version: "3.9" # run release with oldest supported Python version
python-version: "3.10" # run release with oldest supported Python version
publish-pypi: true
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ disable=fixme,
no-else-raise,
duplicate-code,
consider-using-f-string,
too-many-positional-arguments,
not-an-iterable, # gets confused with lists on attrs classes; MyPy covers this
unsupported-membership-test, # gets confused with dicts on attrs classes; MyPy covers this
unsupported-assignment-operation, # gets confused with dicts on attrs classes; MyPy covers this
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: '3.9'
python: '3.10'
python:
install:
- method: pip
Expand Down
4 changes: 4 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Version 0.6.11 unreleased
* Pull in latest updates from run-script-framework.
* Simplify GHA integration with coveralls.io.
* Update transitive dependencies to address Dependabot warnings.
* Add support for Python v3.13 and drop support for v3.9.
* Upgrade to Poetry v1.8.4 for official Python 3.13 support.
* Bump readthedocs build to python 3.10 and ubuntu-24.04.
* Add importlib-metadata to [tool.poetry.extras] in pyproject.toml.

Version 0.6.10 26 Feb 2024

Expand Down
Loading

0 comments on commit bb20429

Please sign in to comment.