Skip to content

Commit

Permalink
Pin maturin version in CI for now (#2219)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
charliermarsh authored Mar 5, 2024
1 parent 043d726 commit a8ac7b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: "Build sdist"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
command: sdist
args: --out dist
- name: "Test sdist"
Expand Down Expand Up @@ -73,6 +74,7 @@ jobs:
- name: "Build wheels - x86_64"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: x86_64
args: --release --locked --out dist
- name: "Upload wheels"
Expand Down Expand Up @@ -112,6 +114,7 @@ jobs:
- name: "Build wheels - universal2"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
args: --release --locked --target universal2-apple-darwin --out dist
- name: "Test wheel - universal2"
run: |
Expand Down Expand Up @@ -162,6 +165,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.platform.target }}
args: --release --locked --out dist
- name: "Test wheel"
Expand Down Expand Up @@ -209,6 +213,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.target }}
manylinux: auto
args: --release --locked --out dist
Expand Down Expand Up @@ -283,6 +288,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.platform.target }}
manylinux: 2_28
docker-options: ${{ matrix.platform.maturin_docker_options }}
Expand Down Expand Up @@ -348,6 +354,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.platform.target }}
manylinux: auto
docker-options: ${{ matrix.platform.maturin_docker_options }}
Expand Down Expand Up @@ -415,6 +422,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.platform.target }}
manylinux: auto
docker-options: ${{ matrix.platform.maturin_docker_options }}
Expand Down Expand Up @@ -485,6 +493,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --locked --out dist
Expand Down Expand Up @@ -547,6 +556,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@v1
with:
maturin-version: 1.4.0
target: ${{ matrix.platform.target }}
manylinux: musllinux_1_2
args: --release --locked --out dist
Expand Down

0 comments on commit a8ac7b1

Please sign in to comment.