-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Installing from subdirectories is broken in 0.1.26 (and 0.1.25 probably) #2727
Comments
If I had to guess, it's probably not the subdirectory handling itself being broken but the existence of a |
Thanks for the thorough report! If you have time, could you share a reproduction with a public repository? Note for us, we should add test coverage for this in a new |
Not immediately obvious to me how this would be happening. |
Sorry, yes it is. Easy fix, my mistake. |
## Summary This was just an oversight (and a lack of test coverage). Closes #2727.
Fixed in the next release, apologies. |
A dependency defined using a subdirectory fails to generate the lockfile in
0.1.26
.An example dependency is:
"mersal @ git+ssh://git@github.com/mersal-org/mersal.git@trunk#subdirectory=core"
The error message is:
The error was originally obtained using
rye sync
but then I switched to usinguv
directly viauv pip compile pyproject.toml -o requirements.txt
What is happening: The process is finding a
pyproject.toml
at the root directory which has a package metadata namemersal-virtual-workspace
. This didn't happen in version0.1.24
or before (I tested from01.20
).With
0.1.25
, I get a different error which I believe is now resolved in0.1.26
(#2712):However, looking at the changelog, the original error was probably caused by a change in
0.1.25
.The text was updated successfully, but these errors were encountered: