Skip to content

Commit

Permalink
Add support for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Mar 15, 2024
1 parent fded077 commit edacfec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
uses: actions/checkout@v4
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
with:
python-version: "3.11"
python-version: "3.12"
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
with:
python-version: "3.11"
python-version: "3.12"
command: towncrier check --compare-with origin/main
fetch-depth: 0
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.9]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.9]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.9]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.9]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11", "3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -80,7 +80,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -97,7 +97,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.11"]
python-version: ["3.11", "3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -114,7 +114,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.11", "3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -131,7 +131,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -147,7 +147,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand All @@ -163,7 +163,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions newsfragments/609.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support python 3.12
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
Expand Down

0 comments on commit edacfec

Please sign in to comment.