Skip to content

Switch from Poetry to uv - #378

Open
ddaspit wants to merge 6 commits into
mainfrom
switch-to-uv
Open

ddaspit wants to merge 6 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.lockuv.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

ddaspit and others added 4 commits September 22, 2026 17:00
- 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>
@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.13%. Comparing base (e2af2c8) to head (39ba0b5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #378   +/-   ##
=======================================
  Coverage   92.13%   92.13%           
=======================================
  Files         390      390           
  Lines       24644    24644           
=======================================
  Hits        22705    22705           
  Misses       1939     1939           

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

ddaspit and others added 2 commits September 22, 2026 17:50
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@claude

claude Bot commented Sep 22, 2026

Copy link
Copy Markdown

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.

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.

3 participants