Skip to content

Commit 682e219

Browse files
authored
Merge pull request #351 from tlsfuzzer/ci-py3.7-update
update CI to make 3.7 continue to work
2 parents ea96669 + 098198a commit 682e219

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

.github/workflows/ci.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
python-version: 3.6
5353
tox-env: py36
5454
- name: py3.7
55-
os: ubuntu-latest
55+
os: ubuntu-22.04
5656
python-version: 3.7
5757
tox-env: py37
5858
- name: py3.8
@@ -81,14 +81,18 @@ jobs:
8181
tox-env: py311
8282
- name: py3.12
8383
os: ubuntu-latest
84-
python-version: '3.12.0-beta.1'
84+
python-version: '3.12'
8585
tox-env: py312
86+
- name: py3.13
87+
os: ubuntu-latest
88+
python-version: '3.13'
89+
tox-env: py313
8690
- name: pypy
8791
os: ubuntu-latest
8892
python-version: pypy-2.7
8993
tox-env: pypy
9094
- name: pypy3
91-
os: ubuntu-latest
95+
os: ubuntu-22.04
9296
python-version: pypy-3.7
9397
tox-env: pypy3
9498
# special configurations
@@ -320,7 +324,7 @@ jobs:
320324
cr-html session-vs-master.sqlite > cosmic-ray.html
321325
- name: Archive mutation testing results
322326
if: ${{ matrix.mutation == 'true' && github.event.pull_request }}
323-
uses: actions/upload-artifact@v3
327+
uses: actions/upload-artifact@v4
324328
with:
325329
name: mutation-PR-coverage-report
326330
path: cosmic-ray.html
@@ -661,7 +665,7 @@ jobs:
661665
run: |
662666
cr-html session.sqlite > cosmic-ray.html
663667
- name: Archive mutation testing results
664-
uses: actions/upload-artifact@v3
668+
uses: actions/upload-artifact@v4
665669
with:
666670
name: mutation-coverage-report
667671
path: cosmic-ray.html

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"Programming Language :: Python :: 3.10",
4343
"Programming Language :: Python :: 3.11",
4444
"Programming Language :: Python :: 3.12",
45+
"Programming Language :: Python :: 3.13",
4546
],
4647
install_requires=["six>=1.9.0"],
4748
extras_require={"gmpy2": "gmpy2", "gmpy": "gmpy"},

tox.ini

+13-7
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, py312, py, pypy, pypy3, gmpy2py27, gmpy2py39, gmpy2py310, gmpypy27, gmpypy39, gmpypy310, codechecks
3+
envlist = py26, py27, py35, py36, py37, py38, py39, py310, py311, py312, py313, 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,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
9+
py{26,27,35,36,37,38,39,310,311,312,313,py,py3}: pytest
10+
py{27,35,36,37,38,39,310,311,312,313,py,py3}: hypothesis
11+
gmpy2py{27,39,310,311,312,313}: gmpy2
12+
gmpypy{27,39,310,311,312,313}: gmpy
13+
gmpy{2py27,2py39,2py310,2py311,2py312,2py313,py27,py39,py310,py311,py312,py313}: pytest
14+
gmpy{2py27,2py39,2py310,2py311,2py312,2py313,py27,py39,py310,py311,py312,py313}: 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
@@ -53,6 +53,9 @@ basepython=python3.11
5353
[testenv:gmpypy312]
5454
basepython=python3.12
5555

56+
[testenv:gmpypy313]
57+
basepython=python3.13
58+
5659
[testenv:gmpy2py27]
5760
basepython=python2.7
5861

@@ -68,6 +71,9 @@ basepython=python3.11
6871
[testenv:gmpy2py312]
6972
basepython=python3.12
7073

74+
[testenv:gmpy2py313]
75+
basepython=python3.13
76+
7177
[testenv:instrumental]
7278
basepython = python2.7
7379
deps =

0 commit comments

Comments
 (0)