Skip to content

Commit 5a114fd

Browse files
committed
add testing on python 3.12
# Conflicts: # tox.ini
1 parent c2d9fe1 commit 5a114fd

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ jobs:
8383
os: ubuntu-latest
8484
python-version: '3.11'
8585
tox-env: py311
86+
- name: py3.12
87+
os: ubuntu-latest
88+
python-version: '3.12.0-alpha.5'
89+
tox-env: py312
8690
- name: pypy
8791
os: ubuntu-latest
8892
python-version: pypy-2.7

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"Programming Language :: Python :: 3.9",
4242
"Programming Language :: Python :: 3.10",
4343
"Programming Language :: Python :: 3.11",
44+
"Programming Language :: Python :: 3.12",
4445
],
4546
install_requires=["six>=1.9.0"],
4647
extras_require={"gmpy2": "gmpy2", "gmpy": "gmpy"},

tox.ini

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11

22
[tox]
3-
envlist = py26, py27, py35, py36, py37, py38, py39, py310, py311, py, pypy, pypy3, gmpy2py27, gmpy2py39, gmpy2py310, gmpypy27, gmpypy39, gmpypy310, codechecks
3+
envlist = py26, py27, py35, py36, py37, py38, py39, py310, py311, py312, py, pypy, pypy3, gmpy2py27, gmpy2py39, gmpy2py310, gmpypy27, gmpypy39, gmpypy310, codechecks
44

55
[testenv]
66
deps =
77
py{26}: unittest2
88
py{26}: hypothesis<3
9-
py{26,27,35,36,37,38,39,310,311,py,py3}: pytest
10-
py{27,35,36,37,38,39,310,311,py,py3}: hypothesis
11-
gmpy2py{27,39,310,311}: gmpy2
12-
gmpypy{27,39,310,311}: gmpy
13-
gmpy{2py27,2py39,2py310,2py311,py27,py39,py310,py311}: pytest
14-
gmpy{2py27,2py39,2py310,2py311,py27,py39,py310,py311}: hypothesis
9+
py{26,27,35,36,37,38,39,310,311,312,py,py3}: pytest
10+
py{27,35,36,37,38,39,310,311,312,py,py3}: hypothesis
11+
gmpy2py{27,39,310,311,312}: gmpy2
12+
gmpypy{27,39,310,311,312}: gmpy
13+
gmpy{2py27,2py39,2py310,2py311,2py312,py27,py39,py310,py311,py312}: pytest
14+
gmpy{2py27,2py39,2py310,2py311,2py312,py27,py39,py310,py311,py312}: hypothesis
1515
# six==1.9.0 comes from setup.py install_requires
1616
py27_old_six: six==1.9.0
1717
py27_old_six: pytest
@@ -50,6 +50,9 @@ basepython=python3.10
5050
[testenv:gmpypy311]
5151
basepython=python3.11
5252

53+
[testenv:gmpypy312]
54+
basepython=python3.12
55+
5356
[testenv:gmpy2py27]
5457
basepython=python2.7
5558

@@ -62,6 +65,9 @@ basepython=python3.10
6265
[testenv:gmpy2py311]
6366
basepython=python3.11
6467

68+
[testenv:gmpy2py312]
69+
basepython=python3.12
70+
6571
[testenv:instrumental]
6672
basepython = python2.7
6773
deps =

0 commit comments

Comments
 (0)