Skip to content

Commit

Permalink
Test on PyPy 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Sep 12, 2023
1 parent 12dfb66 commit 462fec7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy310'

strategy:
fail-fast: False
Expand All @@ -36,9 +36,10 @@ jobs:
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
- {python-version: "pypy310", testenvs: "pypy310,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy310'

strategy:
fail-fast: False
Expand All @@ -37,9 +37,10 @@ jobs:
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
- {python-version: "pypy310", testenvs: "pypy310,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9,pypy310'

strategy:
fail-fast: False
Expand All @@ -35,9 +35,10 @@ jobs:
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
- {python-version: "pypy310", testenvs: "pypy310,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
1 change: 1 addition & 0 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ python_versions:
pypy37:
pypy38:
pypy39:
pypy310:

classifiers:
- 'Development Status :: 5 - Production/Stable'
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ envlist =
pypy37
pypy38
pypy39
pypy310
mypy
build
skip_missing_interpreters = True
Expand All @@ -53,6 +54,7 @@ test =
pypy37
pypy38
pypy39
pypy310
qa = mypy, lint
cov = py36, coverage

Expand Down Expand Up @@ -239,7 +241,8 @@ filterwarnings =
always:ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant:DeprecationWarning
always:datetime.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version:DeprecationWarning:pytz.tzinfo
always:the imp module is deprecated in favour of importlib:DeprecationWarning
; Only on PyPy 3.9+, where it's used in a Python test we import
always:The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning
always:The distutils.sysconfig module is deprecated:DeprecationWarning
[testenv]
setenv =
Expand Down

0 comments on commit 462fec7

Please sign in to comment.