Skip to content

Commit a8ac7b1

Browse files
Pin maturin version in CI for now (#2219)
## Summary In v1.5.0, Maturin now produces Metadata 2.3.0, which isn't supported in the GitHub Action: pypa/gh-action-pypi-publish#219.
1 parent 043d726 commit a8ac7b1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-binaries.yml

+10
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: "Build sdist"
4747
uses: PyO3/maturin-action@v1
4848
with:
49+
maturin-version: 1.4.0
4950
command: sdist
5051
args: --out dist
5152
- name: "Test sdist"
@@ -73,6 +74,7 @@ jobs:
7374
- name: "Build wheels - x86_64"
7475
uses: PyO3/maturin-action@v1
7576
with:
77+
maturin-version: 1.4.0
7678
target: x86_64
7779
args: --release --locked --out dist
7880
- name: "Upload wheels"
@@ -112,6 +114,7 @@ jobs:
112114
- name: "Build wheels - universal2"
113115
uses: PyO3/maturin-action@v1
114116
with:
117+
maturin-version: 1.4.0
115118
args: --release --locked --target universal2-apple-darwin --out dist
116119
- name: "Test wheel - universal2"
117120
run: |
@@ -162,6 +165,7 @@ jobs:
162165
- name: "Build wheels"
163166
uses: PyO3/maturin-action@v1
164167
with:
168+
maturin-version: 1.4.0
165169
target: ${{ matrix.platform.target }}
166170
args: --release --locked --out dist
167171
- name: "Test wheel"
@@ -209,6 +213,7 @@ jobs:
209213
- name: "Build wheels"
210214
uses: PyO3/maturin-action@v1
211215
with:
216+
maturin-version: 1.4.0
212217
target: ${{ matrix.target }}
213218
manylinux: auto
214219
args: --release --locked --out dist
@@ -283,6 +288,7 @@ jobs:
283288
- name: "Build wheels"
284289
uses: PyO3/maturin-action@v1
285290
with:
291+
maturin-version: 1.4.0
286292
target: ${{ matrix.platform.target }}
287293
manylinux: 2_28
288294
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -348,6 +354,7 @@ jobs:
348354
- name: "Build wheels"
349355
uses: PyO3/maturin-action@v1
350356
with:
357+
maturin-version: 1.4.0
351358
target: ${{ matrix.platform.target }}
352359
manylinux: auto
353360
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -415,6 +422,7 @@ jobs:
415422
- name: "Build wheels"
416423
uses: PyO3/maturin-action@v1
417424
with:
425+
maturin-version: 1.4.0
418426
target: ${{ matrix.platform.target }}
419427
manylinux: auto
420428
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -485,6 +493,7 @@ jobs:
485493
- name: "Build wheels"
486494
uses: PyO3/maturin-action@v1
487495
with:
496+
maturin-version: 1.4.0
488497
target: ${{ matrix.target }}
489498
manylinux: musllinux_1_2
490499
args: --release --locked --out dist
@@ -547,6 +556,7 @@ jobs:
547556
- name: "Build wheels"
548557
uses: PyO3/maturin-action@v1
549558
with:
559+
maturin-version: 1.4.0
550560
target: ${{ matrix.platform.target }}
551561
manylinux: musllinux_1_2
552562
args: --release --locked --out dist

0 commit comments

Comments
 (0)