Skip to content

Commit 427164b

Browse files
committed
Add support for Python 3.12
1 parent 2a2ae77 commit 427164b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ on: [push, pull_request, workflow_dispatch]
88
permissions:
99
contents: read
1010

11+
env:
12+
FORCE_COLOR: 1
13+
1114
jobs:
1215
build:
1316

1417
runs-on: ubuntu-latest
1518
strategy:
1619
fail-fast: false
1720
matrix:
18-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
21+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1922

2023
steps:
2124
- uses: actions/checkout@v3
@@ -25,6 +28,7 @@ jobs:
2528
uses: actions/setup-python@v4
2629
with:
2730
python-version: ${{ matrix.python-version }}
31+
allow-prereleases: true
2832
- name: Install dependencies and prepare tests
2933
run: |
3034
set -x

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,6 @@ def build_py_modules(basedir: str, excludes: Sequence = ()) -> Sequence:
122122
"Programming Language :: Python :: 3.9",
123123
"Programming Language :: Python :: 3.10",
124124
"Programming Language :: Python :: 3.11",
125+
"Programming Language :: Python :: 3.12",
125126
],
126127
)

0 commit comments

Comments
 (0)