fix(pytest-matrix): seed pip into the uv venv#11
Merged
Conversation
`uv venv` installs no pip/setuptools/wheel, so any test that shells out to `sys.executable -m pip` fails with "No module named pip". The per-repo workflows this reusable replaced all built their env with actions/setup-python + `pip install`, so pip was always present — this is an unintended regression of the CI unification, not a test bug. Caught by scitex-ai/scitex-hub#433: its pip-install e2e gate (proving the production `pip_install_user_app` --no-deps --target argv shape) went red on all three legs while passing on develop's retired workflow. Runner evidence: `.venv/bin/python: No module named pip`.
This was referenced Jul 22, 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.
uv venvinstalls no pip/setuptools/wheel, so any test that shells out tosys.executable -m pipdies with "No module named pip".The per-repo workflows this reusable replaced all built their env with
actions/setup-python+pip install, so pip was always present. Losing it is an unintended regression of the CI unification, not a test bug.Evidence
Caught by scitex-ai/scitex-hub#433. Its pip-install e2e gate proves the production
pip_install_user_app--no-deps --targetargv shape. It passes on develop (retired setup-python workflow) and fails on all three legs under this reusable, on two different runners:The job log's
Installed 330 packageslist contains nopip,hatchling,setuptoolsorwheel.Fix
uv venv --seed. It only adds pip/setuptools/wheel — the set every non-uv venv already ships — so it cannot break existing callers.