Skip to content

fix: strip local uv path sources before installing dependencies#24

Merged
abrichr merged 2 commits intomainfrom
fix/strip-local-uv-sources
Mar 19, 2026
Merged

fix: strip local uv path sources before installing dependencies#24
abrichr merged 2 commits intomainfrom
fix/strip-local-uv-sources

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 19, 2026

Root Cause

Worker fails in 7 seconds because pyproject.toml has [tool.uv.sources] with local paths (e.g., path = "../openadapt-ml") that don't exist on Fly.io. The packages resolve from PyPI as normal deps without the source override.

Fix

Strip path = "..." entries from [tool.uv.sources] and delete stale uv.lock before uv sync. Git/URL sources preserved. 5 new tests.

🤖 Generated with Claude Code

abrichr and others added 2 commits March 19, 2026 10:25
uv sync fails on Fly.io workers because pyproject.toml contains
[tool.uv.sources] with local path references (e.g., path = "../openadapt-ml")
that don't exist in the container. The packages are still listed as normal
dependencies and resolve from PyPI without the source override.

Strips path sources from pyproject.toml and deletes stale uv.lock before
running uv sync. Preserves git and URL sources. 5 new tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abrichr abrichr merged commit e116477 into main Mar 19, 2026
1 check passed
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.

1 participant