Skip to content

Commit

Permalink
Fix python wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Nov 13, 2024
1 parent 01648f7 commit 0c8fbc2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-core-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/${{ matrix.module }}/Cargo.toml
args: --release --out dist --find-interpreter --manifest-path python/${{ matrix.module }}/Cargo.toml
sccache: "true"
manylinux: auto
- name: Upload wheels
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/${{ matrix.module }}/Cargo.toml
args: --release --out dist --find-interpreter --manifest-path python/${{ matrix.module }}/Cargo.toml
sccache: "true"
manylinux: musllinux_1_2
- name: Upload wheels
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/${{ matrix.module }}/Cargo.toml
args: --release --out dist --find-interpreter --manifest-path python/${{ matrix.module }}/Cargo.toml
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/${{ matrix.module }}/Cargo.toml
args: --release --out dist --find-interpreter --manifest-path python/${{ matrix.module }}/Cargo.toml
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --no-default-features --manifest-path python/${{ matrix.module }}/Cargo.toml
args: --release --out dist --find-interpreter --no-default-features --manifest-path python/${{ matrix.module }}/Cargo.toml
sccache: "true"
rust-toolchain: nightly
- name: Upload wheels
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python-io-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: manylinux_2_28
args: --release --out dist -m python/geoarrow-io/Cargo.toml
args: --release --out dist --find-interpreter -m python/geoarrow-io/Cargo.toml
before-script-linux: |
yum update -y
yum install openssl openssl-devel perl-IPC-Cmd -y
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
# with:
# target: ${{ matrix.target }}
# manylinux: auto
# args: --release --out dist -m python/geoarrow-io/Cargo.toml
# args: --release --out dist --find-interpreter -m python/geoarrow-io/Cargo.toml

# # This is currently failing with
# # python: command not found
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -m python/geoarrow-io/Cargo.toml
args: --release --out dist --find-interpreter -m python/geoarrow-io/Cargo.toml
sccache: "true"

- name: Install built wheel - ${{ matrix.platform.target }}
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist -m python/geoarrow-io/Cargo.toml
args: --release --out dist --find-interpreter -m python/geoarrow-io/Cargo.toml

- name: Install built wheel
run: |
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
# with:
# target: ${{ matrix.target }}
# manylinux: musllinux_1_2
# args: --release --out dist -m python/geoarrow-io/Cargo.toml
# args: --release --out dist --find-interpreter -m python/geoarrow-io/Cargo.toml

# - name: Install built wheel
# if: matrix.target == 'x86_64-unknown-linux-musl'
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
# with:
# target: ${{ matrix.platform.target }}
# manylinux: musllinux_1_2
# args: --release --out dist -m python/geoarrow-io/Cargo.toml
# args: --release --out dist --find-interpreter -m python/geoarrow-io/Cargo.toml

# - uses: uraimo/run-on-arch-action@v2.5.1
# name: Install built wheel
Expand Down

0 comments on commit 0c8fbc2

Please sign in to comment.