8000 Build option to dynamically set abi3 version · Issue #1894 · PyO3/maturin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
10000
Build option to dynamically set abi3 version #1894
Closed
@alex

Description

@alex

Currently the way to set abi3 version is via applying a versioned-feature in Cargo.toml (e.g., abi3-py312).

I'm requesting a way set that at the CLI. The reason for this is to be able to build wheels targeting multiple abi3 versions from the same source.

We're currently able to do this with setuptools-rust with the following command:

if [ -n "${{ matrix.PYTHON.ABI_VERSION }}" ]; then
    PY_LIMITED_API="--config-settings=--build-option=--py-limited-api=${{ matrix.PYTHON.ABI_VERSION }} --no-build-isolation"
fi
OPENSSL_DIR="/opt/pyca/cryptography/openssl" \
    OPENSSL_STATIC=1 \
    .venv/bin/python -m pip wheel -v $PY_LIMITED_API cryptograph*.tar.gz -w dist/ && mv dist/cryptography*.whl tmpwheelhouse

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0