Skip to content

ci: maturin picks up Python 3.8 instead of 3.12 in manylinux container #2276

@kevinjqliu

Description

@kevinjqliu

Apache Iceberg Rust version

None

Describe the bug

More context: apache/iceberg-python#3190 (comment)

The wheels job in the Python release workflow uses actions/setup-python@v6 to install Python 3.12 on the host runner, but for Linux builds, maturin-action runs inside a manylinux Docker container where the host's Python is not available. Maturin auto-discovers interpreters inside the container and may pick Python 3.8 (from /opt/python/cp38-cp38/) instead of 3.12.

This 0.9.0 release of pyiceberg-core is missing the 3.10+ manylinux wheel that 0.8.0 has.

https://github.com/apache/iceberg-rust/actions/runs/23356765173/job/67949517681

🔗 Found pyo3 bindings with abi3 support
🐍 Found CPython 3.8 at /opt/python/cp38-cp38/bin/python3
📡 Using build options features from pyproject.toml
⚠️ Warning: CPython 3.8 at /opt/python/cp38-cp38/bin/python3 does not yet support abi3 so the build artifacts will be version-specific.

To Reproduce

No response

Expected behavior

No response

Willingness to contribute

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions