Use UV for dependency management#45
Merged
tudoramariei merged 3 commits intodanniel/reReDockerizefrom Jun 13, 2025
Merged
Conversation
Member
tudoramariei
commented
Jun 12, 2025
- update dockerfiles, makefiles, pyproject
- remove requirements files in favour of uv.lock & pyproject
- update dockerfiles, makefiles, pyproject - remove requirements files in favour of uv.lock & pyproject
There was a problem hiding this comment.
Pull Request Overview
Migrate dependency management from pip-compiled requirements to Astral UV by updating Dockerfiles, Makefile, and pyproject.toml and removing old requirements files.
- Added UV installer and replaced virtualenv creation and pip installs with
uv venvanduv sync - Removed all
requirements.txt/.infiles, introducedpyproject.toml+uv.lock - Updated Makefile targets to use
uv syncinstead ofpip-compile
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| docker/dockerfiles/Dockerfile.dev | Install UV, swap python3 -m venv + pip installs for uv venv + uv sync |
| docker/dockerfiles/Dockerfile | Add UV installer, replace pip venv/install with uv venv + uv sync |
| backend/requirements.txt | Removed obsolete requirements file |
| backend/requirements.in | Removed obsolete requirements file |
| backend/requirements-dev.txt | Removed obsolete dev requirements file |
| backend/requirements-dev.in | Removed obsolete dev requirements file |
| backend/pyproject.toml | Added project metadata, dependencies, dev groups; removed pip-tools config |
| Makefile | Changed dependency targets to use uv sync and updated comments accordingly |
Comments suppressed due to low confidence (4)
backend/pyproject.toml:2
- Project
nameis empty; specify a valid package name to ensure correct metadata and distribution.
name = ""
backend/pyproject.toml:120
- Black's
target-versionis set topy312butrequires-pythonis>=3.13; update topy313(or appropriate) for consistency.
target-version = ["py312"]
Makefile:154
- The comment mentions
pip compilebut the target usesuv sync; update the description to accurately reflect the new command.
requirements-build: ## run uv pip compile and add requirements from the *.in files
Makefile:160
- Clarify this comment to reflect use of
uv sync --active -Uinstead ofpip-compilefor updating dependencies and lock file.
requirements-update: ## run uv pip compile and rebuild the requirements files
danniel
reviewed
Jun 12, 2025
danniel
approved these changes
Jun 12, 2025
4368ff0 to
7871506
Compare
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.