Skip to content

Switch from poetry to uv#74

Merged
amrabed merged 7 commits intomainfrom
switch-from-poetry-to-uv-1175086704523201381
Apr 23, 2026
Merged

Switch from poetry to uv#74
amrabed merged 7 commits intomainfrom
switch-from-poetry-to-uv-1175086704523201381

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

@google-labs-jules google-labs-jules Bot commented Apr 23, 2026

Summary

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

Related Issues

Closes #73

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
Contributor 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.

@amrabed amrabed assigned amrabed and unassigned amrabed Apr 23, 2026
@amrabed amrabed marked this pull request as ready for review April 23, 2026 11:23
@amrabed amrabed self-requested a review as a code owner April 23, 2026 11:23
Copy link
Copy Markdown
Owner

@amrabed amrabed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@amrabed amrabed merged commit 5a72fa8 into main Apr 23, 2026
3 checks passed
@amrabed amrabed deleted the switch-from-poetry-to-uv-1175086704523201381 branch April 23, 2026 11:25
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.

Feature: Switch from poetry to uv

1 participant