This is an automated email from the ASF dual-hosted git repository.
dru pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 4c08d35cd fix: explicitly set Python interpreter in maturin build to
prevent using wrong version (#2277)
4c08d35cd is described below
commit 4c08d35cdc337d2428bb9ef4e14c0ed12caaec35
Author: Kevin Liu <[email protected]>
AuthorDate: Mon Mar 23 12:11:19 2026 -0700
fix: explicitly set Python interpreter in maturin build to prevent using
wrong version (#2277)
---
.github/workflows/bindings_python_ci.yml | 2 +-
.github/workflows/release_python.yml | 2 +-
.github/workflows/release_python_nightly.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/bindings_python_ci.yml
b/.github/workflows/bindings_python_ci.yml
index 1177073f1..efd4a7809 100644
--- a/.github/workflows/bindings_python_ci.yml
+++ b/.github/workflows/bindings_python_ci.yml
@@ -93,7 +93,7 @@ jobs:
with:
working-directory: "bindings/python"
command: build
- args: --out dist
+ args: --out dist -i python3.12 # Explicitly set interpreter;
manylinux containers have multiple Pythons and maturin may pick an older one
- uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098
with:
version: "0.9.3"
diff --git a/.github/workflows/release_python.yml
b/.github/workflows/release_python.yml
index 5d97e23a2..abf8b52b6 100644
--- a/.github/workflows/release_python.yml
+++ b/.github/workflows/release_python.yml
@@ -191,7 +191,7 @@ jobs:
manylinux: ${{ matrix.manylinux || 'auto' }}
working-directory: "bindings/python"
command: build
- args: --release -o dist
+ args: --release -o dist -i python3.12 # Explicitly set interpreter;
manylinux containers have multiple Pythons and maturin may pick an older one
- name: Upload wheels
uses: actions/upload-artifact@v7
with:
diff --git a/.github/workflows/release_python_nightly.yml
b/.github/workflows/release_python_nightly.yml
index 6f9655e29..595cb42d0 100644
--- a/.github/workflows/release_python_nightly.yml
+++ b/.github/workflows/release_python_nightly.yml
@@ -101,7 +101,7 @@ jobs:
manylinux: ${{ matrix.manylinux || 'auto' }}
working-directory: "bindings/python"
command: build
- args: --release -o dist
+ args: --release -o dist -i python3.12 # Explicitly set interpreter;
manylinux containers have multiple Pythons and maturin may pick an older one
- name: Upload wheels
uses: actions/upload-artifact@v7