Skip to content

Commit e828e54

Browse files
authored
GitHub Actions: Add Python 3.14 and PyPy 3.11 (#200)
* https://www.python.org/downloads/release/python-3140/ * https://github.com/actions/python-versions/releases * https://pypy.org/download.html -- PyPy only keeps a single release as current. `requirements-dev.txt`: ```diff - cryptography==44.0.1 + cryptography==46.0.1 ``` * For compatibility with PyPy3.11 https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst Note: Python 3.8 went EOL one year ago. Python 3.9 will EOL in 10 days, when Python 3.14 will be released.
1 parent bec4232 commit e828e54

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
15+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1616

1717
steps:
18-
- uses: actions/checkout@v3
19-
- name: Setup Python
20-
uses: actions/setup-python@v3
18+
- uses: actions/checkout@v5
19+
- name: Setup Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: ${{ matrix.python-version }}
23+
allow-prereleases: true
2324
cache: 'pip'
2425
cache-dependency-path: 'requirements-dev-full.txt'
2526
- run: pip install . -r requirements-dev-full.txt
@@ -35,9 +36,9 @@ jobs:
3536
python-version: ['3.8']
3637

3738
steps:
38-
- uses: actions/checkout@v3
39-
- name: Setup Python
40-
uses: actions/setup-python@v3
39+
- uses: actions/checkout@v5
40+
- name: Setup Python ${{ matrix.python-version }}
41+
uses: actions/setup-python@v6
4142
with:
4243
python-version: ${{ matrix.python-version }}
4344
cache: 'pip'
@@ -53,12 +54,12 @@ jobs:
5354
strategy:
5455
matrix:
5556
os: [ubuntu-latest]
56-
python-version: ['pypy-3.9','pypy-3.10']
57+
python-version: ['pypy-3.10','pypy-3.11']
5758

5859
steps:
59-
- uses: actions/checkout@v3
60-
- name: Setup Python
61-
uses: actions/setup-python@v3
60+
- uses: actions/checkout@v5
61+
- name: Setup Python ${{ matrix.python-version }}
62+
uses: actions/setup-python@v6
6263
with:
6364
python-version: ${{ matrix.python-version }}
6465
cache: 'pip'
@@ -72,12 +73,13 @@ jobs:
7273
strategy:
7374
matrix:
7475
os: [ubuntu-latest]
75-
python-version: ['3.14-dev']
76+
python-version: ['3.14']
7677
steps:
77-
- uses: actions/checkout@v3
78-
- name: Setup Python
79-
uses: actions/setup-python@v3
78+
- uses: actions/checkout@v5
79+
- name: Setup Python ${{ matrix.python-version }}
80+
uses: actions/setup-python@v6
8081
with:
8182
python-version: ${{ matrix.python-version }}
83+
allow-prereleases: true
8284
- run: pip install . -r requirements-dev.in
8385
- run: make test

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ click==8.1.8
1717
# via pip-tools
1818
coverage[toml]==7.6.1
1919
# via pytest-cov
20-
cryptography==44.0.1
20+
cryptography==46.0.1
2121
# via trustme
2222
exceptiongroup==1.2.2 ; python_version < "3.11"
2323
# via

0 commit comments

Comments
 (0)