-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv sync fails with relative packages #6242
Comments
I think this might already be fixed on main #6157. |
Yeah this line of code ( |
Thanks for the clear report! |
Is there an easy way to install uv from main to verify this ineed fixes the issue? |
You could clone and |
I can also test it out real quick. |
|
And confirmed that latest on PyPI fails:
|
Yes. I confirmed it as well. Though I encountered a different issue with I'll open another issue later though. |
Feel free! Relative path dependencies are explicitly not standardized, and the use of |
It might be interesting to provide a nightly built artifact. |
@eth3lbert we've considered it, but we release a few times a week already |
These bugs happen when I use |
Yeah, that makes sense! |
Yeah unfortunately those builds aren't release-optimized so I'd be hesitant to make them easy to access. Idk. Maybe we'll add nightly builds — seems better than doing a release build for every commit to |
UV Version:
0.2.37
Platform: MacOS
14.3.1
TL;DR
When running
uv sync
with a lockfile and a relatively installed package the command panics with:Files
/tmp/package-a.arc8vD0sMy/pyproject.toml
/tmp/package-b.it5jIqKRdX/pyproject.toml
/tmp/package-b.it5jIqKRdX/uv.lock
Commands
cd /tmp/package-b.it5jIqKRdX uv lock RUST_BACKTRACE=full uv sync -vvv
Output
The text was updated successfully, but these errors were encountered: