Skip to content

Fix wrong abi3 tag for conditional cargo features enabled pyo3 abi3 feature#3029

Merged
messense merged 1 commit into
PyO3:mainfrom
messense:fix/conditional-abi3-detection
Feb 22, 2026
Merged

Fix wrong abi3 tag for conditional cargo features enabled pyo3 abi3 feature#3029
messense merged 1 commit into
PyO3:mainfrom
messense:fix/conditional-abi3-detection

Conversation

@messense

Copy link
Copy Markdown
Member

Detect abi3 from conditional features in pyproject.toml when not found in cargo metadata. Also filter abi3 interpreters by version >= abi3 minimum version so interpreters below the minimum get regular version-specific wheels.

Fixes #3028

@messense messense force-pushed the fix/conditional-abi3-detection branch from 01746f2 to 2548be6 Compare February 22, 2026 14:53
@trim21

trim21 commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

should we resolve the final pyo3 features before we resolve if abi3 enabled?

@messense messense force-pushed the fix/conditional-abi3-detection branch 2 times, most recently from e167c5f to 9fb52d2 Compare February 22, 2026 15:43
…eature

Detect abi3 from conditional features in pyproject.toml when not found
in cargo metadata. Also filter abi3 interpreters by version >= abi3
minimum version so interpreters below the minimum get regular
version-specific wheels.

Fixes PyO3#3028
@messense messense force-pushed the fix/conditional-abi3-detection branch from 9fb52d2 to a5d1cd7 Compare February 22, 2026 15:43
@messense messense merged commit 9943bd1 into PyO3:main Feb 22, 2026
45 checks passed
@messense messense deleted the fix/conditional-abi3-detection branch February 22, 2026 23:39
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Mar 31, 2026
https://build.opensuse.org/request/show/1343551
by user mia + anag_factory
- Drop CVE-2026-25727.patch (handled in _service)
- Update to 1.12.6
  * Sync legacy_py.rs with upstream PyPI warehouse legacy.py
    gh#PyO3/maturin#3053
  * Keep cargo build artifact at original path after staging
    gh#PyO3/maturin#3054
- Update to 1.12.5
  * feat: include debug info files (.pdb, .dSYM, .dwp) in wheels
    gh#PyO3/maturin#3024
  * Fix wrong abi3 tag for conditional cargo features enabled pyo3
    abi3 feature
    gh#PyO3/maturin#3029
  * fix: maturin build --sdist wheel name/layout for excluded
    workspace crates
    gh#PyO3/maturin#3031
  * fix: preserve wheel output dir when building from unpacked
    sdist
    gh#PyO3/maturin#3036
  * feat: add python-implementation condition to conditional
    features
    gh#PyO3/maturin#3038
  * Fix non-existent comment tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wrong abi3 tag for "conditional cargo features" enabled pyo3 abi3 feature

2 participants