-
Notifications
You must be signed in to change notification settings - Fork 906
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
Editable installation with extras #7845
Comments
Don't you want That's how it works for pip, and I believe uv is copying the behavior here. |
OK, thanks for pointing this out, in fact it works. It's a bit surprising that But I can very well live with that, thank you for doing a great job with uv. |
|
As this option appears in the output for In fact IMO it wouldn't be useful to apply this to all transitive dependencies, no. |
Yeah:
This looks like a bug, |
|
That makes sense, the If no one else does I might write a PR, or else I will be confused when I come across this again in a years time. |
I was just writing up a similar experience when I found this one. What I wrote up-- I attempted to install a project that had a pyproject.toml in the root and several extras defined:
It worked when I ran:
It seemed unnecessary, since I think another example in the documentation could be helpful. I was looking through https://docs.astral.sh/uv/pip/packages/#editable-packages for guidance. |
When I try to install extras for an editable installation, e.g.
uv pip install -e . --all-extras
, uv refuses this with an error message:Without
--extra
or ´--all-extras` everything is fine, so the pyproject.toml file is obviously present and can be processed.Particularly with an
install -e
, however, it's often desirable to install the dev dependencies;uv pip install
doesn't have any kind of--dev
flag (unless I miss something).I haven't provided a full working sample as I think this behaviour doesn't depend on any particular conditions, but of course I'll try to prepare a stripped-down sample if it helps. I'm using uv 0.4.17.
The text was updated successfully, but these errors were encountered: