Skip to content

Commit c2399f0

Browse files
authored
update pypy version in CI workflow (#187)
* update pypy version in CI workflow * update minimal python version to 3.9 * update python version in setup.py
1 parent 50a111a commit c2399f0

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# os: [ubuntu-20.04, macos-latest, windows-latest]
3737

3838
# https://github.com/actions/setup-python#specifying-a-pypy-version
39-
python-version: ['3.7', '3.11', 'pypy-3.7', 'pypy-3.9']
39+
python-version: ['3.9', '3.11', 'pypy-3.9', 'pypy-3.10']
4040

4141
# https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/
4242
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
author_email='autobahnws@googlegroups.com',
8181
url='https://github.com/crossbario/txaio',
8282
platforms=('Any'),
83-
python_requires='>=3.7',
83+
python_requires='>=3.9',
8484
extras_require={
8585
'twisted': extras_require_twisted,
8686
'asyncio': extras_require_asyncio,
@@ -111,8 +111,6 @@
111111
"Operating System :: OS Independent",
112112
"Programming Language :: Python",
113113
"Programming Language :: Python :: 3",
114-
"Programming Language :: Python :: 3.7",
115-
"Programming Language :: Python :: 3.8",
116114
"Programming Language :: Python :: 3.9",
117115
"Programming Language :: Python :: 3.10",
118116
"Programming Language :: Python :: 3.11",

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
skip_missing_interpreters = true
33
envlist =
44
flake8
5-
py37-{tw203,tw2210,twtrunk,asyncio}
5+
py39-{tw203,tw2210,twtrunk,asyncio}
66
# Twisted <22.10 on Python 3.11 fails with:
77
# src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: Datei oder Verzeichnis nicht gefunden
88
py311-{ tw2210,twtrunk,asyncio}
9-
pypy37-{tw203,tw2210,twtrunk,asyncio}
109
pypy39-{tw203,tw2210,twtrunk,asyncio}
10+
pypy310-{tw203,tw2210,twtrunk,asyncio}
1111

1212

1313
# MAP: GitHub Actions Python Name => Tox Env Name (for Python)
@@ -19,10 +19,10 @@ envlist =
1919
#
2020
[gh-actions]
2121
python =
22-
3.7: py37
22+
3.9: py39
2323
3.11: py311
24-
pypy-3.7: pypy37
25-
pypy-3.9: pypy39
24+
pypy-3.9: pypy38
25+
pypy-3.10: pypy310
2626

2727

2828
[testenv]

0 commit comments

Comments
 (0)