Skip to content

Switch from Poetry to uv - #378

Merged
ddaspit merged 7 commits into
mainfrom
switch-to-uv
Oct 22, 2026
Merged

ddaspit merged 7 commits into
mainfrom
switch-to-uv

Conversation

@ddaspit

@ddaspit ddaspit commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Replaces Poetry with uv for dependency management, builds, CI, Docker and the dev container.

  • poetry.lock → uv.lock (fresh lock, mostly patch-level bumps); Poetry groups → PEP 735 dependency groups, gpu still installed by default
  • Build backend is now uv_build; the wheel now includes LICENSE and the repository URL
  • Makes machine a regular package (adds __init__.py) instead of a namespace package
  • Removes the unused eflomal package and EFLOMAL_PATH (the Eflomal aligner comes from Thot)
  • CI dependency install is ~4x faster (74s → 19s per job)

Tested: full CI matrix; the GPU Docker image builds and passes the Thot/jobs tests inside the container. Not tested: dockerfile.cpu_only, the dev container, and uv publish (first runs on the next tag).

🤖 Generated with Claude Code


This change is Reviewable

@codecov-commenter

codecov-commenter commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.18%. Comparing base (67d949f) to head (03d7ae3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #378   +/-   ##
=======================================
  Coverage   92.18%   92.18%           
=======================================
  Files         398      398           
  Lines       25267    25267           
=======================================
  Hits        23293    23293           
  Misses       1974     1974           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@claude

claude Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@mshannon-sil
mshannon-sil self-requested a review September 23, 2026 16:12

@mshannon-sil mshannon-sil left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

:lgtm:

@mshannon-sil made 1 comment.
Reviewable status: 0 of 14 files reviewed, all discussions resolved.

@Enkidu93 Enkidu93 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

:lgtm:

@Enkidu93 reviewed 14 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on ddaspit).

@Enkidu93

Enkidu93 commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Since the transformers PR is through, can this be rebased and merged now?

@Enkidu93

Copy link
Copy Markdown
Collaborator

@ddaspit, were you waiting on something in particular before rebasing and merging this?

@ddaspit

ddaspit commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Nope, I just totally forgot about this. I will resurrect this PR.

ddaspit and others added 7 commits October 20, 2026 10:57
- Convert Poetry dependency groups to PEP 735 dependency groups and
  replace poetry.lock with uv.lock
- Use uv_build as the build backend; include LICENSE in the
  distributions and publish the repository URL via [project.urls]
- Keep installing the gpu group by default (default-groups = "all") to
  match Poetry's behavior
- Update CI, dockerfiles, dev container, VS Code settings,
  local_check.sh and the port-pr skill

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
setup-uv does not publish floating major-version tags.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Eflomal aligner is provided by Thot (sil-thot), so the eflomal
package and EFLOMAL_PATH are no longer used.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
No other distribution contributes to the machine namespace, so it no
longer needs to be a namespace package.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Claude, Claude code review and comment hygiene workflows added on main
still installed Poetry and keyed their caches on poetry.lock, which this
branch removes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ddaspit
ddaspit merged commit ef7ae0b into main Oct 22, 2026
20 of 21 checks passed
@ddaspit
ddaspit deleted the switch-to-uv branch October 22, 2026 16:58
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.

4 participants