Skip to content

Switch from poetry to uv#74

Draft
google-labs-jules[bot] wants to merge 1 commit intomainfrom
switch-from-poetry-to-uv-1175086704523201381
Draft

Switch from poetry to uv#74
google-labs-jules[bot] wants to merge 1 commit intomainfrom
switch-from-poetry-to-uv-1175086704523201381

Conversation

@google-labs-jules
Copy link
Copy Markdown

This PR migrates the project from Poetry to uv for dependency management and packaging.

Key changes:

  • pyproject.toml: Modernized using PEP 621 for project metadata and PEP 735 for dependency groups. Switched build backend to hatchling.
  • uv.lock: Generated new lock file and removed poetry.lock.
  • Makefile: Updated all targets to use uv sync, uv run, etc.
  • Dockerfile: Updated to use the official uv installer image and uv run.
  • .github/workflows/check.yml: Updated to use astral-sh/setup-uv for faster and more reliable CI.
  • Documentation: Updated README.md, CONTRIBUTING.md, and AGENTS.md to reflect the switch to uv.
  • .gitignore: Updated to ignore .venv and handle uv.lock correctly.
  • tests/test_app.py: Updated with a real test case to ensure the migration is working correctly.

PR created automatically by Jules for task 1175086704523201381 started by @amrabed

- Migrate `pyproject.toml` to PEP 621 and PEP 735 standard using `[project]` and `[dependency-groups]`.
- Update `[build-system]` to use `hatchling`.
- Replace `poetry` with `uv` in `Makefile`, `Dockerfile`, and GitHub Actions.
- Update documentation and `.gitignore` for `uv`.
- Generate `uv.lock` and remove `poetry.lock`.
- Improve `tests/test_app.py` for better coverage and verification.
@google-labs-jules
Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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