Skip to content

Migrate from pip/venv to uv#8

Open
carta-sre-claude-assistant[bot] wants to merge 1 commit into
mainfrom
migrate-to-uv
Open

Migrate from pip/venv to uv#8
carta-sre-claude-assistant[bot] wants to merge 1 commit into
mainfrom
migrate-to-uv

Conversation

@carta-sre-claude-assistant
Copy link
Copy Markdown

Summary

Migrates krang from legacy requirements.txt + pip/venv to uv for faster, reproducible dependency management.

Changes

  • pyproject.toml (new) — PEP 621 project metadata with dependencies (PyYAML, yamllint)
  • uv.lock (new) — lockfile for reproducible installs
  • Makefile — replaced python -m venv / pip install with uv sync / uv run
  • Jenkinsfile — added uv install step, updated build commands
  • .gitignorevenv.venv
  • requirements.txt (removed) — superseded by pyproject.toml

Testing

Verified locally:

  • uv sync installs all deps
  • uv run python generate.py ... builds the app successfully
  • uv run yamllint src passes with no errors

- Replace requirements.txt with pyproject.toml (PEP 621)
- Add uv.lock for reproducible dependency resolution
- Update Makefile to use uv sync/run instead of venv/pip
- Update Jenkinsfile to install uv and use it for builds
- Update .gitignore (venv -> .venv)
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.

0 participants