Broken path parsing for install spec
$ uv --version
uv 0.2.35
$ uv pip install --editable '/home/phil/Dev/Python/Packaging, Docs/session-info2'
error: Failed to parse: `/home/phil/Dev/Python/Packaging, Docs/session-info2`
Caused by: Expected path (`/home/phil/Dev/Python/Packaging,`) to end in a supported file extension: `.whl`, `.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`, or `.tar.zst`
/home/phil/Dev/Python/Packaging, Docs/session-info2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Thanks!
cc @charliermarsh might a regression from #5888
I can take a look.
Ah, sorry, I should have said that there is also an error with older versions before that PR (e.g. 0.2.32)
The underlying issue of something splitting the path at the space is older.
I think we currently require that you use a backslash here.
(But of course it should work as-is.)
I wasn’t aware that escape sequences in dependency specs are a thing at all!
Yeah it's a bit tricky. Like this doesn't work:
-e /Users/crmarsh/workspace/uv/foo bar/black_editable
But it does work if you quote it, or pass it directly on the command-line etc.
I am quoting it, see initial comment.
Yeah I'm describing what the behavior should be, not what we do today.
I see! Thank you for clarifying!