-
Notifications
You must be signed in to change notification settings - Fork 13
Update install instructions to use uv sync instead of pip #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the project's dependency management from pip and requirements.txt files to uv, a modern Python package manager. The main goal is to modernize the development workflow and improve dependency management using uv's faster and more reliable package resolution.
Key changes:
- Replaced requirements.txt files with pyproject.toml using uv's modern dependency specification format
- Updated all installation and build scripts to use uv commands instead of pip
- Upgraded Python version requirement from 3.12 to 3.13
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| backend/src/agents/retriever_graph.py | Updated import to use newer LangGraph API with CompiledStateGraph |
| backend/requirements.txt | Removed pip-style requirements file |
| backend/requirements-test.txt | Removed separate test requirements file |
| backend/pyproject.toml | Migrated to modern pyproject.toml with uv dependency groups and updated package versions |
| backend/README.md | Updated installation instructions to use uv sync instead of pip |
| backend/Makefile | Replaced pip and virtual environment commands with uv equivalents |
| backend/Dockerfile_slim | Updated Docker build to use uv for dependency management |
| backend/Dockerfile | Updated Docker build to use uv for dependency management |
| backend/.python-version | Set Python version to 3.13 |
| README.md | Updated main installation instructions to use uv |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
luarss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just need minor fixes to workflows+Dockerfile. Also please sign off the commits - thanks!
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
luarss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
Signed-off-by: Palaniappan R <[email protected]>
…AD-Project#169) * chore(docs): replace pip install with uv sync instructions * refactor(Makefile): rewrite setup and checks to use uv * refactor: use uv in dockerfiles * chore: update readme * chore: install uv in Dockerfiles * refactor(ci): install uv in CI workflow * fix: update mypy version to >=1.17.1 in pyproject.toml and uv.lock * chore: update pytest ini_options * chore: update base image to python:3.13.5-slim in Dockerfiles * refactor: update Dockerfiles to use pre-built uv images * refactor(ci): simplify uv installation in CI workflow * fix: update command to run chatbot script in README * fix: use uv run in post_install script execution * chore: update dependencies for mcp functionality * fix: update type hint for ORFS_DIR environment variable to Optional[str] * fix: update graph type hint to use Optional * ruff: fix formatting * feat: use uv in all make targets --------- Signed-off-by: Palaniappan R <[email protected]> Signed-off-by: Jack Luar <[email protected]>
No description provided.