Repository navigation
🔧 build(tox): build against uv-managed Python - #1628
Closed
gaborbernat wants to merge 1 commit into
Closed
gaborbernat wants to merge 1 commit into
gaborbernat wants to merge 1 commit into
Conversation
Distro interpreters such as Fedora's python3.15 ship without headers unless the -devel package is installed, so meson could not find the Python dependency and the 3.15, docs, pkg_meta and warnings envs failed to build the C extension locally. CI already pins UV_PYTHON_PREFERENCE=only-managed; tox now asks tox-uv for the same.
gaborbernat
enabled auto-merge (squash)
November 5, 2026 00:40
Merging this PR will not alter performance
Comparing Footnotes
|
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.
Contributors on distributions whose default Python ships without development headers could not build the C extension through tox: on Fedora,
/usr/bin/python3.15has noPython.hunlesspython3-develis installed, so meson reportedPython dependency not foundand the3.15,docs,pkg_metaandwarningsenvironments stopped before running anything. 🛠️CI never saw this because every job already sets
UV_PYTHON_PREFERENCE: only-managed. tox now asks tox-uv for the same through itsuv_python_preferencesetting, so local environments use uv's standalone CPython builds, which bundle their headers, and match the interpreters CI builds against.