Skip to content

Commit 688605b

Browse files
authored
Merge pull request #475 from dajiaji/add-support-for-py312
Update tox.ini to support Python 3.12.
2 parents aa6783c + a19e443 commit 688605b

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
python-version: ["3.8", "3.9", "3.10", "3.11"]
2020

2121
steps:
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-python@v2
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-python@v4
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

@@ -45,10 +45,10 @@ jobs:
4545
os: [ubuntu-latest, windows-latest, macos-latest]
4646

4747
steps:
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-python@v2
48+
- uses: actions/checkout@v4
49+
- uses: actions/setup-python@v4
5050
with:
51-
python-version: "3.8"
51+
python-version: "3.10"
5252

5353
- name: Install poetry
5454
run: python -m pip install poetry

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist =
33
check
44
build
55
build_docs
6-
py{38,39,310,311}
6+
py{38,39,310,311,312}
77
isolated_build = True
88
skip_missing_interpreters = True
99

@@ -14,6 +14,7 @@ python =
1414
3.9: py39
1515
3.10: check, build, build_docs, py310
1616
3.11: py311
17+
3.12: py312
1718

1819

1920
[testenv:check]

0 commit comments

Comments
 (0)