Skip to content

Commit a079a4c

Browse files
committed
Test on PyPy 3.8
1 parent 7b30b13 commit a079a4c

File tree

6 files changed

+23
-5
lines changed

6 files changed

+23
-5
lines changed

.github/workflows/python_ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "windows-2019"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.6,pypy-3.7,pypy-3.8'
2525

2626
strategy:
2727
fail-fast: False
@@ -35,6 +35,7 @@ jobs:
3535
- {python-version: "3.11.0-alpha.3", testenvs: "py311-dev,build", experimental: True}
3636
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3737
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
38+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3839

3940
steps:
4041
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "ubuntu-20.04"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.6,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.6,pypy-3.7,pypy-3.8'
2626

2727
strategy:
2828
fail-fast: False
@@ -36,6 +36,7 @@ jobs:
3636
- {python-version: "3.11.0-alpha.3", testenvs: "py311-dev,build", experimental: True}
3737
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3940

4041
steps:
4142
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "macos-latest"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.7,pypy-3.8'
2525

2626
strategy:
2727
fail-fast: False
@@ -34,6 +34,7 @@ jobs:
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11.0-alpha.3", testenvs: "py311-dev,build", experimental: True}
3636
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
37+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3738

3839
steps:
3940
- name: Checkout 🛎️

repo_helper.yml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ python_versions:
2828
experimental: true
2929
pypy36:
3030
pypy37:
31+
pypy38:
3132

3233
classifiers:
3334
- 'Development Status :: 5 - Production/Stable'

tests/test_import_tools.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,20 @@ def test_discover_entry_points_by_name_name_match_func(advanced_data_regression:
142142
only_pypy("Output differs on PyPy")
143143
]
144144
),
145-
pytest.param(3.8, marks=only_version(3.8, reason="Output differs on Python 3.8")),
145+
pytest.param(
146+
3.8,
147+
marks=[
148+
only_version(3.8, reason="Output differs on Python 3.8"),
149+
not_pypy("Output differs on PyPy 3.8")
150+
]
151+
),
152+
pytest.param(
153+
"3.8_pypy",
154+
marks=[
155+
only_version(3.8, reason="Output differs on Python 3.8"),
156+
only_pypy("Output differs on PyPy 3.8")
157+
]
158+
),
146159
pytest.param(3.9, marks=only_version(3.9, reason="Output differs on Python 3.9")),
147160
pytest.param("3.10", marks=only_version("3.10", reason="Output differs on Python 3.10")),
148161
]

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ envlist =
2424
py311-dev
2525
pypy36
2626
pypy37
27+
pypy38
2728
mypy
2829
build
2930
skip_missing_interpreters = True
@@ -34,7 +35,7 @@ requires =
3435
tox-pip-version>=0.0.7
3536

3637
[envlists]
37-
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37
38+
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
3839
qa = mypy, lint
3940
cov = py36, coverage
4041

0 commit comments

Comments
 (0)