--project
and lock
produces incorrect relative path in lock file
#9692
Labels
bug
Something isn't working
Minimal reproduction
Running in
/home/user/projects/uv_test
withuv
0.5.6.Gives the following output:
Contents of project/uv.lock:
The relative path that ends up in the lock file is incorrect. Using
--directory
instead of--project
produces the expected"."
path.Nor is the path produced,
"../../../project"
, the one given as--project
- it ends up pointing to a somewhat arbitrary directory and so with some bad luck could produce some very unexpected results if it happens to hit a different valid project. In my case the concrete project is at/home/user/projects/uv_test/project
withuv
looking in/home/user/project
.To be clear, in my usecase switching to
--directory
worked. Maybe this is expected behaviour but I am reporting it as it surprised me.The text was updated successfully, but these errors were encountered: