Skip to content

chore: migrate from poetry to uv - #103

Merged
roniemartinez merged 2 commits into
masterfrom
chore/migrate-to-uv
Jul 30, 2026
Merged

chore: migrate from poetry to uv#103
roniemartinez merged 2 commits into
masterfrom
chore/migrate-to-uv

Conversation

@roniemartinez

@roniemartinez roniemartinez commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Developer Experience

    • Added streamlined dependency installation, formatting, linting, type checking, and tagging commands.
    • Added automated code-quality checks across supported Python versions.
    • Added pre-commit checks for formatting, linting, and type safety.
  • Build & Deployment

    • Updated Docker builds to use Python 3.13 and faster dependency management.
    • Reduced unnecessary files included in Docker build contexts.
    • Improved automated dependency update coverage.
  • Documentation

    • Updated Docker Compose commands and added development setup guidance.

@roniemartinez roniemartinez self-assigned this Jul 30, 2026
@roniemartinez roniemartinez added the enhancement New feature or request label Jul 30, 2026
@roniemartinez

Copy link
Copy Markdown
Owner Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@roniemartinez, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 51 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e1a22113-f2e9-4096-8a20-fe443391cb0a

📥 Commits

Reviewing files that changed from the base of the PR and between 29e425d and 68b79c5.

📒 Files selected for processing (2)
  • .github/workflows/python.yml
  • Dockerfile
📝 Walkthrough

Walkthrough

The project migrates from Poetry-based management to uv, Ruff, mypy, and Task. Docker builds use Python 3.13 and locked uv dependencies, while CI, Dependabot, pre-commit, Compose, and development documentation are updated.

Changes

Tooling and Container Workflow

Layer / File(s) Summary
Project metadata and local automation
pyproject.toml, .pre-commit-config.yaml, Taskfile.yml, README.md
Project metadata and dependencies use PEP 621 and uv; Ruff, mypy, pre-commit, and Task provide formatting, linting, installation, and tagging commands.
uv-based container build
Dockerfile, .dockerignore, docker-compose.yml, README.md
The container uses Python 3.13, copied uv tooling, locked non-development dependencies, and updated Docker Compose commands and build-context exclusions.
Dependency and lint automation
.github/dependabot.yml, .github/workflows/python.yml
Dependabot tracks uv, Docker, and GitHub Actions, while CI runs Task-based linting across Python 3.10–3.14.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: migrating the project from Poetry to uv.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/migrate-to-uv

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/python.yml:
- Line 23: Update the actions/checkout step to disable credential persistence by
setting persist-credentials to false, and retain the workflow’s job permissions
at contents: read unless a documented write operation requires broader access.

In `@Dockerfile`:
- Around line 1-16: Update the Dockerfile to create a dedicated unprivileged
runtime user, grant that user ownership or necessary read/write access to /code
and required runtime paths after copying and dependency setup, then add a USER
directive before the application runs so the container no longer defaults to
root.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0e5bf7fa-2362-43fd-a868-8a1c01689837

📥 Commits

Reviewing files that changed from the base of the PR and between d8376c5 and 29e425d.

⛔ Files ignored due to path filters (2)
  • poetry.lock is excluded by !**/*.lock
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (10)
  • .dockerignore
  • .github/dependabot.yml
  • .github/workflows/python.yml
  • .pre-commit-config.yaml
  • Dockerfile
  • Makefile
  • README.md
  • Taskfile.yml
  • docker-compose.yml
  • pyproject.toml
💤 Files with no reviewable changes (2)
  • docker-compose.yml
  • Makefile

Comment thread .github/workflows/python.yml
Comment thread Dockerfile Outdated
@roniemartinez
roniemartinez merged commit 6778096 into master Jul 30, 2026
6 checks passed
@roniemartinez
roniemartinez deleted the chore/migrate-to-uv branch July 30, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant