Skip to content

Commit a845be9

Browse files
hugovkfacelessuser
authored andcommitted
Add support for Python 3.12
1 parent 2e66beb commit a845be9

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
max-parallel: 4
1818
matrix:
1919
platform: [ubuntu-latest, windows-latest]
20-
tox-env: [py37, py38, py39, py310, py311, nolxml, nohtml5lib]
20+
tox-env: [py37, py38, py39, py310, py311, py312, nolxml, nohtml5lib]
2121
include:
2222
- tox-env: py37
2323
python-version: 3.7
@@ -34,6 +34,9 @@ jobs:
3434
- tox-env: py311
3535
python-version: '3.11'
3636
continue-on-error: false
37+
- tox-env: py312
38+
python-version: '3.12'
39+
continue-on-error: false
3740
- tox-env: nolxml
3841
python-version: '3.11'
3942
continue-on-error: false
@@ -56,6 +59,7 @@ jobs:
5659
uses: actions/setup-python@v4
5760
with:
5861
python-version: ${{ matrix.python-version }}
62+
allow-prereleases: true
5963
- name: Set up development Python ${{ matrix.python-version }}
6064
if: endsWith(matrix.python-version, '-dev')
6165
uses: deadsnakes/[email protected]

hatch_build.py

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def update(self, metadata):
4646
'Programming Language :: Python :: 3.9',
4747
'Programming Language :: Python :: 3.10',
4848
'Programming Language :: Python :: 3.11',
49+
'Programming Language :: Python :: 3.12',
4950
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
5051
'Topic :: Software Development :: Libraries :: Python Modules',
5152
'Typing :: Typed'

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
isolated_build = true
33
envlist =
4-
py{37,38,39,310,311},
4+
py{37,38,39,310,311,312},
55
lint, nolxml, nohtml5lib
66

77
[testenv]

0 commit comments

Comments
 (0)