Skip to content

Commit 438ff22

Browse files
committed
drop support for PyPy 3.7 and 3.8
Upstream PyO3 does not support PyPy 3.7 and 3.8 anymore since 0.23. Testing against PyPy 3.9 and 3.10 now.
1 parent 71a82a3 commit 438ff22

File tree

1 file changed

+29
-19
lines changed

1 file changed

+29
-19
lines changed

.github/workflows/ci.yml

+29-19
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,18 @@ jobs:
3030
strategy:
3131
fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
3232
matrix:
33-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
33+
python-version:
34+
[
35+
"3.7",
36+
"3.8",
37+
"3.9",
38+
"3.10",
39+
"3.11",
40+
"3.12",
41+
"3.13",
42+
"pypy-3.9",
43+
"pypy-3.10",
44+
]
3445
platform:
3546
[
3647
{
@@ -71,29 +82,28 @@ jobs:
7182
python-architecture: "arm64",
7283
rust-target: "aarch64-apple-darwin",
7384
}
74-
# NumPy does not provide pre-built wheels for PyPy on macOS and Windows
75-
- python-version: pypy-3.7
85+
exclude:
86+
# ubuntu-24.04 does not support 3.7
87+
- python-version: 3.7
7688
platform:
7789
{
7890
os: "ubuntu-latest",
7991
python-architecture: "x64",
8092
rust-target: "x86_64-unknown-linux-gnu",
8193
}
82-
- python-version: pypy-3.8
94+
- python-version: pypy-3.9
8395
platform:
8496
{
85-
os: "ubuntu-latest",
86-
python-architecture: "x64",
87-
rust-target: "x86_64-unknown-linux-gnu",
97+
os: "windows-latest",
98+
python-architecture: "x86",
99+
rust-target: "i686-pc-windows-msvc",
88100
}
89-
exclude:
90-
# ubuntu-24.04 does not support 3.7
91-
- python-version: 3.7
101+
- python-version: pypy-3.10
92102
platform:
93103
{
94-
os: "ubuntu-latest",
95-
python-architecture: "x64",
96-
rust-target: "x86_64-unknown-linux-gnu",
104+
os: "windows-latest",
105+
python-architecture: "x86",
106+
rust-target: "i686-pc-windows-msvc",
97107
}
98108
steps:
99109
- uses: actions/checkout@v4
@@ -201,7 +211,7 @@ jobs:
201211
- uses: actions/checkout@v4
202212
- uses: actions/setup-python@v5
203213
with:
204-
python-version: '3.12'
214+
python-version: "3.12"
205215
- uses: messense/maturin-action@v1
206216
with:
207217
target: aarch64
@@ -215,7 +225,7 @@ jobs:
215225
- uses: actions/checkout@v4
216226
- uses: actions/setup-python@v5
217227
with:
218-
python-version: '3.12'
228+
python-version: "3.12"
219229
- uses: dtolnay/rust-toolchain@stable
220230
- uses: Swatinem/rust-cache@v2
221231
continue-on-error: true
@@ -233,7 +243,7 @@ jobs:
233243
- uses: actions/checkout@v4
234244
- uses: actions/setup-python@v5
235245
with:
236-
python-version: '3.12'
246+
python-version: "3.12"
237247
- uses: dtolnay/rust-toolchain@nightly
238248
- uses: Swatinem/rust-cache@v2
239249
continue-on-error: true
@@ -249,7 +259,7 @@ jobs:
249259
- name: Set up Python
250260
uses: actions/setup-python@v5
251261
with:
252-
python-version: '3.12'
262+
python-version: "3.12"
253263
- name: Install Rust
254264
uses: dtolnay/[email protected]
255265
- uses: Swatinem/rust-cache@v2
@@ -292,7 +302,7 @@ jobs:
292302
- uses: actions/checkout@v4
293303
- uses: actions/setup-python@v5
294304
with:
295-
python-version: '3.12'
305+
python-version: "3.12"
296306
- name: Install OpenBLAS
297307
run: sudo apt install --yes libopenblas-dev
298308
- name: Install Rust
@@ -312,7 +322,7 @@ jobs:
312322
- uses: actions/checkout@v4
313323
- uses: actions/setup-python@v5
314324
with:
315-
python-version: '3.12'
325+
python-version: "3.12"
316326
- name: Install numpy
317327
run: pip install "numpy" ml_dtypes
318328
- uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)