-
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
Allow conflicting dependency groups #8814
Comments
#6981 is intended to cover all forms of optional dependencies, including the |
I'll update that to reflect it |
Oh I see sorry then. Is there perhaps an issue or just an idea somewhere to have a clearer "nomenclature"? For the moment I have noticed these things:
But it's nothing that can't be learned! I'm just trying to pinpoint some minor things as I'm trying to get incorporate Do you advise I close both this issue and the PR or do you think it's better if someone from your team does that? |
Thanks for pointing out the discrepancies — it's a bit tricky because we designed all the interfaces before dependency groups were available. Since we added supported for them so recently, it's not surprising that there are some rough edges. Feel free to open an issue regarding changing the interface. |
Also, thanks for taking the time to contribute :) |
I have noticed that
uv
doesn't the installation of a dependency group when there are conflicting dependency groups.Example of a
pyproject.toml
:uv sync --group scikit
returns the error:PS:
I'm not opening this issue to say that
uv
should or should not. That's something that PEP 735 left for the tools to implement their own strategy (see lockfile generation).I'm opening it to provide a link to fix a typo, in my opinion, in the documentation here: https://docs.astral.sh/uv/concepts/dependencies/#dependency-groups
The issue referred to in the note concerns optional dependencies and not dependency groups.
The text was updated successfully, but these errors were encountered: