diff --git a/.github/workflows/python-core-wheels.yml b/.github/workflows/python-core-wheels.yml index f5d9048d8..3cece8720 100644 --- a/.github/workflows/python-core-wheels.yml +++ b/.github/workflows/python-core-wheels.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/python-io-wheels.yml b/.github/workflows/python-io-wheels.yml index 09a35a806..73ae7df49 100644 --- a/.github/workflows/python-io-wheels.yml +++ b/.github/workflows/python-io-wheels.yml @@ -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 @@ -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 @@ -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 }} @@ -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: | @@ -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' @@ -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