Skip to content

Replace pip with uv across all CI workflows#658

Merged
gijzelaerr merged 1 commit intomasterfrom
fix-ci-replace-pip-with-uv
Mar 25, 2026
Merged

Replace pip with uv across all CI workflows#658
gijzelaerr merged 1 commit intomasterfrom
fix-ci-replace-pip-with-uv

Conversation

@gijzelaerr
Copy link
Copy Markdown
Owner

Summary

  • Replace bare pip install and python -m build with uv build and uv sync across all CI workflows
  • uv venv does not include pip, so python -m build (which needs pip to install build deps in its isolated env) fails
  • This broke the source-build workflow today

Changes

Workflow Before After
source-build.yml uv venv + uv pip install build + python -m build --sdist uv build --sdist
publish-pypi.yml pip install build + python -m build uv build
publish-test-pypi.yml pip install build + python -m build uv build
test.yml uv venv + uv pip install uv sync --extra
doc.yml uv venv + uv pip install uv sync --extra

No --system, no bare pip, all venv-based.

Test plan

  • source-build workflow passes (was failing before this fix)
  • test workflow passes across all OS/Python matrix
  • doc workflow passes

🤖 Generated with Claude Code

- source-build.yml: uv venv + uv pip install build + python -m build → uv build
- publish-pypi.yml: pip install build + python -m build → uv build
- publish-test-pypi.yml: same
- test.yml: uv venv + uv pip install → uv sync --extra
- doc.yml: uv venv + uv pip install → uv sync --extra

uv venvs don't include pip, so workflows using bare pip or
python -m build (which needs pip internally) break. Use uv build
for building and uv sync for dependency installation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gijzelaerr gijzelaerr merged commit c6fdd85 into master Mar 25, 2026
37 checks passed
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.

1 participant