Skip to content

Commit

Permalink
update pypy version in CI workflow (#187)
Browse files Browse the repository at this point in the history
* update pypy version in CI workflow

* update minimal python version to 3.9

* update python version in setup.py
  • Loading branch information
om26er authored Jan 12, 2024
1 parent 50a111a commit c2399f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# os: [ubuntu-20.04, macos-latest, windows-latest]

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

# https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
author_email='[email protected]',
url='https://github.com/crossbario/txaio',
platforms=('Any'),
python_requires='>=3.7',
python_requires='>=3.9',
extras_require={
'twisted': extras_require_twisted,
'asyncio': extras_require_asyncio,
Expand Down Expand Up @@ -111,8 +111,6 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
skip_missing_interpreters = true
envlist =
flake8
py37-{tw203,tw2210,twtrunk,asyncio}
py39-{tw203,tw2210,twtrunk,asyncio}
# Twisted <22.10 on Python 3.11 fails with:
# src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: Datei oder Verzeichnis nicht gefunden
py311-{ tw2210,twtrunk,asyncio}
pypy37-{tw203,tw2210,twtrunk,asyncio}
pypy39-{tw203,tw2210,twtrunk,asyncio}
pypy310-{tw203,tw2210,twtrunk,asyncio}


# MAP: GitHub Actions Python Name => Tox Env Name (for Python)
Expand All @@ -19,10 +19,10 @@ envlist =
#
[gh-actions]
python =
3.7: py37
3.9: py39
3.11: py311
pypy-3.7: pypy37
pypy-3.9: pypy39
pypy-3.9: pypy38
pypy-3.10: pypy310


[testenv]
Expand Down

0 comments on commit c2399f0

Please sign in to comment.