fix: abi3 run export handling for pixi-build-python#5751
Draft
pavelzw wants to merge 2 commits intoprefix-dev:mainfrom
Draft
fix: abi3 run export handling for pixi-build-python#5751pavelzw wants to merge 2 commits intoprefix-dev:mainfrom
pavelzw wants to merge 2 commits intoprefix-dev:mainfrom
Conversation
7 tasks
Contributor
|
Let me check this on Tuesday. I think we still need the lower/upperbound check. |
Collaborator
Author
|
i also still need to look at the code here, this was entirely done by codex apart from my prompt |
This was referenced Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix ABI3 dependency handling in
pixi-build-python.When
abi3 = true, pixi was still producing apython_abi X.Y.* *_cpXYrun dependency via the weak run export fromhost: python, even though the recipe was markedbuild.python.version_independent: true.Root cause
pixi-build-pythonwas mixing two different models for ABI3 packages:build.python.version_independent = truepython_abilogic / allowinghost: pythonrun exports to propagateThat caused regular CPython ABI pins to still appear in the resolved run dependencies.
Changes
abi3 = trueas apython_abihost pinignore_run_exports.from_package = ["python"]sohost: pythondoes not inject the normalpython_abirun exportignore_run_exportspixi-build-pythondocs to describe the correct ABI3 behaviorResult
ABI3 builds now:
version_independentpython's CPython ABI pinpython-abi3host dependency for ABI3-compatible run exportsFixes conda/rattler#2197 (comment)
How Has This Been Tested?
AI Disclosure
Tools: codex
Checklist:
schema/model.py.