-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Allow per-package overrides #2686
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
Comments
Supportive of this and hit it today. I have several libraries that depend on library A with various constraints. Most of them have flexible enough constraints that I want them to be used and resolved. A few have constraints that are too tight and I've tested and have confidence it's ok to relax a bit. I ended up working around this by dropping dependencies I knew I could relax, resolving, then adding them back and adding override. Would be safer experience if I could say this directly. |
This might now exist as https://docs.astral.sh/uv/concepts/resolution/#dependency-metadata |
ran into this today and not sure if I'm understanding the solution correctly issue: we have some dependency We can solve this with global overrides, but ideally we'd like to do this with per-package overrides as previously mentioned. Tried using
Is this what the above solution was referring to? Does that mean we have to include example pyproject.toml:
Resultant
Also (don't know if related) - if Thanks! |
I want this feature when I know I can safely ignore dependency conflicts. |
any update on this? thanks |
This comment discusses a second type of dependency overriding:
The parent ticket was resolved based on the first idea (global overrides) and I didn't see another ticket to track this second idea, which as stated is less risky and could give better error messages. I would love to see this feature!
Thanks! I've been having an amazing time with
uv
so far.The text was updated successfully, but these errors were encountered: