Skip to content

Commit 1bcd407

Browse files
committed
Add support, testing for Python 3.12
This has been out with some time. Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent ff8be91 commit 1bcd407

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- name: Checkout source code
1212
uses: actions/checkout@v3
13-
- name: Set up Python 3.11
13+
- name: Set up Python 3.12
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.11"
16+
python-version: "3.12"
1717
- name: Install dependencies
1818
run: python -m pip install tox
1919
- name: Run tox
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python: ["3.8", "3.9", "3.10", "3.11"]
26+
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2727
steps:
2828
- name: Checkout source code
2929
uses: actions/checkout@v3
@@ -48,10 +48,10 @@ jobs:
4848
# We need history for release notes
4949
with:
5050
fetch-depth: 0
51-
- name: Set up Python 3.11
51+
- name: Set up Python 3.12
5252
uses: actions/setup-python@v4
5353
with:
54-
python-version: "3.11"
54+
python-version: "3.12"
5555
- name: Install dependencies
5656
run: python -m pip install tox
5757
- name: Build docs (via tox)
@@ -73,10 +73,10 @@ jobs:
7373
# We need history to build the package
7474
with:
7575
fetch-depth: 0
76-
- name: Set up Python 3.11
76+
- name: Set up Python 3.12
7777
uses: actions/setup-python@v4
7878
with:
79-
python-version: "3.11"
79+
python-version: "3.12"
8080
- name: Install dependencies
8181
run: python -m pip install build
8282
- name: Build a binary wheel and a source tarball
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
Python 3.12 is now officially supported.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.0
3-
envlist = py{38,39}-click{7,8,8-async},py{310,311}-click{8,8-async},style,docs
3+
envlist = py{38,39}-click{7,8,8-async},py{310,311,312}-click{8,8-async},style,docs
44

55
[testenv]
66
setenv =

0 commit comments

Comments
 (0)