Skip to content

build: migrate from pip-tools to uv#116

Merged
absoludity merged 2 commits into
masterfrom
uv-migration
Mar 19, 2026
Merged

build: migrate from pip-tools to uv#116
absoludity merged 2 commits into
masterfrom
uv-migration

Conversation

@absoludity

Copy link
Copy Markdown
Collaborator

pip-compile and the two generated requirements files (requirements.txt, requirements-dev.txt) are replaced by uv's native lock file (uv.lock). uv is a single Rust binary that covers virtualenv creation, dependency resolution, locking, and installation — faster and with a simpler mental model than the pip + pip-tools combination.

make install is added as the canonical setup command (uv sync --extra dev). The existing Makefile targets are otherwise unchanged — they continue to work against the venv uv creates at .venv/. Anyone with an existing venv/ directory should delete it and run make install to switch over.

CI switches to astral-sh/setup-uv which handles uv installation and caching. The path trigger is updated from requirements*.txt to uv.lock.

@absoludity absoludity requested a review from monkeypants March 19, 2026 03:04
@absoludity absoludity marked this pull request as ready for review March 19, 2026 03:04
@absoludity absoludity force-pushed the doctrine-test-handlers branch from 57ee3df to b77faae Compare March 19, 2026 22:23
@absoludity absoludity changed the base branch from doctrine-test-handlers to master March 19, 2026 22:23
pip-compile generated requirements.txt and requirements-dev.txt are
replaced by a single uv.lock. uv sync --extra dev replaces
pip install -r requirements-dev.txt for both local development and CI.

CI jobs now use astral-sh/setup-uv instead of setup-python + pip.
The install Make target is added as the canonical setup command.
@absoludity absoludity merged commit 33567b4 into master Mar 19, 2026
6 checks passed
@absoludity absoludity deleted the uv-migration branch March 19, 2026 22:24
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