Skip to content

Commit edacfec

Browse files
committed
Add support for python 3.12
1 parent fded077 commit edacfec

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
uses: actions/checkout@v4
1313
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
1414
with:
15-
python-version: "3.11"
15+
python-version: "3.12"
1616
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
1717
towncrier:
1818
runs-on: ubuntu-latest
1919
if: ${{ github.actor != 'dependabot[bot]' }}
2020
steps:
2121
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
2222
with:
23-
python-version: "3.11"
23+
python-version: "3.12"
2424
command: towncrier check --compare-with origin/main
2525
fetch-depth: 0

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.9]
15+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.9]
1616
env:
1717
OS: ubuntu-latest
1818
PYTHON: ${{ matrix.python-version }}
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: true
3131
matrix:
32-
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.9]
32+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.9]
3333
env:
3434
OS: ubuntu-latest
3535
PYTHON: ${{ matrix.python-version }}
@@ -46,7 +46,7 @@ jobs:
4646
strategy:
4747
fail-fast: true
4848
matrix:
49-
python-version: [3.9, "3.10", "3.11"]
49+
python-version: [3.9, "3.10", "3.11", "3.12"]
5050
env:
5151
OS: ubuntu-latest
5252
PYTHON: ${{ matrix.python-version }}
@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
fail-fast: true
6565
matrix:
66-
python-version: ["3.10", "3.11"]
66+
python-version: ["3.10", "3.11", "3.12"]
6767
env:
6868
OS: ubuntu-latest
6969
PYTHON: ${{ matrix.python-version }}
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
fail-fast: true
8282
matrix:
83-
python-version: ["3.10", "3.11"]
83+
python-version: ["3.10", "3.11", "3.12"]
8484
env:
8585
OS: ubuntu-latest
8686
PYTHON: ${{ matrix.python-version }}
@@ -97,7 +97,7 @@ jobs:
9797
strategy:
9898
fail-fast: true
9999
matrix:
100-
python-version: ["3.11"]
100+
python-version: ["3.11", "3.12"]
101101
env:
102102
OS: ubuntu-latest
103103
PYTHON: ${{ matrix.python-version }}
@@ -114,7 +114,7 @@ jobs:
114114
strategy:
115115
fail-fast: true
116116
matrix:
117-
python-version: ["3.10", "3.11"]
117+
python-version: ["3.11", "3.12"]
118118
env:
119119
OS: ubuntu-latest
120120
PYTHON: ${{ matrix.python-version }}
@@ -131,7 +131,7 @@ jobs:
131131
strategy:
132132
fail-fast: true
133133
matrix:
134-
python-version: ["3.10", "3.11"]
134+
python-version: ["3.12"]
135135
env:
136136
OS: ubuntu-latest
137137
PYTHON: ${{ matrix.python-version }}
@@ -147,7 +147,7 @@ jobs:
147147
strategy:
148148
fail-fast: true
149149
matrix:
150-
python-version: [3.8, 3.9, "3.10", "3.11"]
150+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
151151
env:
152152
OS: ubuntu-latest
153153
PYTHON: ${{ matrix.python-version }}
@@ -163,7 +163,7 @@ jobs:
163163
strategy:
164164
fail-fast: true
165165
matrix:
166-
python-version: ["3.11"]
166+
python-version: ["3.12"]
167167
env:
168168
OS: ubuntu-latest
169169
PYTHON: ${{ matrix.python-version }}

newsfragments/609.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support python 3.12

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
2323
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
2425
"Programming Language :: Python :: 3 :: Only",
2526
"Topic :: Software Development :: Libraries :: Python Modules",
2627
"Topic :: Software Development :: Testing",

0 commit comments

Comments
 (0)