-
Notifications
You must be signed in to change notification settings - Fork 920
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 lock: relative sdist for relative path dependencies #3965
Comments
Note: |
Possibly related to #3506 |
For reference, poetry with a [[package]]
name = "my-package"
version = "0.1.0"
...
[package.source]
type = "directory"
url = "../my-package" |
👍 Yeah this will certainly change. I am going to merge into #3506 since it's meant to cover the same problem. |
I don't believe there's any way around this with the lockfile right now. (It's not really intended for public use yet.) |
Given a
requirements.txt
file that includes a relative path to a directory containing a distribution:With
uv pip compile --unstable-uv-lock-file requirements.txt
the generated lock has the package resolved to absolute paths like the following:This is not ideal since I want to commit the lock file to a git repo shared with other people and they won't have the same directory structure I have.
The text was updated successfully, but these errors were encountered: