Skip to content

Commit fa5fe83

Browse files
committed
Run Python 3.7 tests only on Ubuntu 22.04
GitHub Actions is delivering errors when running tests for Python 3.7 on the latest Ubuntu runners (24.04), because Python 3.7 is not available for that runner version anymore. So I'm removing 3.7 from the list of versions tested on the latest Ubuntu and adding a test for it on Ubuntu 22.04. I gave Pypy 3.7 the same treatment. This should fix the recent CI failures.
1 parent 6996d5a commit fa5fe83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ jobs:
1616
# Not all Python versions are available for linux AND x64
1717
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
1818
os: ['ubuntu-latest']
19-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
19+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.8', 'pypy-3.9']
2020
extra: ['', '-smtp']
2121
# The forced pytest versions correspond with the lower bounds in tox.ini
2222
pytest-version: ['', '--force-dep pytest==4.6', '--force-dep pytest==6.2.4']
2323
include:
2424
- os: 'ubuntu-20.04'
2525
python-version: '3.6'
26+
- os: 'ubuntu-22.04'
27+
python-version: '3.7'
28+
- os: 'ubuntu-22.04'
29+
python-version: 'pypy-3.7'
2630
exclude:
2731
- python-version: '3.10'
2832
pytest-version: '--force-dep pytest==4.6'

0 commit comments

Comments
 (0)