Skip to content

Migrate repository dependency installation paths from pip to uv - #198

Merged
afeld merged 1 commit into
mainfrom
copilot/switch-repository-from-pip-to-uv
Sep 8, 2026
Merged

Migrate repository dependency installation paths from pip to uv#198
afeld merged 1 commit into
mainfrom
copilot/switch-repository-from-pip-to-uv

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This updates the repository’s dependency-management workflow to use uv instead of pip across local setup, CI bootstrap, and autograder provisioning. The goal is a single package-management path in developer and automation environments.

  • Build/dev workflow (Makefile)

    • Replaced python -m venv + pip install flow with uv venv and uv pip.
    • Updated package-upgrade target to use uv pip --upgrade.
  • GitHub Actions setup action

    • Added astral-sh/setup-uv to install and cache uv.
    • Replaced dependency install step from pip install -r requirements.txt to uv pip install --system -r requirements.txt.
  • Autograder bootstrap

    • Replaced python3-pip installation and pip3 install with uv install + uv pip install --system.
  • Editor environment defaults

    • Updated VS Code Python env settings to use uv as the default package manager.
setup:
	uv venv .venv
	uv pip install --python .venv/bin/python \
		-r requirements.txt \
		-r extras/autograder/source/requirements.txt

Co-authored-by: afeld <86842+afeld@users.noreply.github.com>
@afeld
afeld marked this pull request as ready for review September 8, 2026 15:20
@afeld
afeld merged commit 9527276 into main Sep 8, 2026
28 checks passed
@afeld
afeld deleted the copilot/switch-repository-from-pip-to-uv branch September 8, 2026 15:26
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.

2 participants