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
hugovk authored and facelessuser committed Aug 31, 2023
1 parent 2e66beb commit a845be9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
max-parallel: 4
matrix:
platform: [ubuntu-latest, windows-latest]
tox-env: [py37, py38, py39, py310, py311, nolxml, nohtml5lib]
tox-env: [py37, py38, py39, py310, py311, py312, nolxml, nohtml5lib]
include:
- tox-env: py37
python-version: 3.7
Expand All @@ -34,6 +34,9 @@ jobs:
- tox-env: py311
python-version: '3.11'
continue-on-error: false
- tox-env: py312
python-version: '3.12'
continue-on-error: false
- tox-env: nolxml
python-version: '3.11'
continue-on-error: false
Expand All @@ -56,6 +59,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Set up development Python ${{ matrix.python-version }}
if: endsWith(matrix.python-version, '-dev')
uses: deadsnakes/action@v2.1.1
Expand Down
1 change: 1 addition & 0 deletions hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def update(self, metadata):
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Typing :: Typed'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
isolated_build = true
envlist =
py{37,38,39,310,311},
py{37,38,39,310,311,312},
lint, nolxml, nohtml5lib

[testenv]
Expand Down

0 comments on commit a845be9

Please sign in to comment.