-
Notifications
You must be signed in to change notification settings - Fork 239
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
fix: Don't override PIP_CONSTRAINT if set by the user #1675
Conversation
362a2d0
to
2a1edad
Compare
@joerick it just occurred to me — what if
perhaps, removing entries from As an alternative, Would that be usable or would it make things more problematic? |
That would have the same behaviour as this PR. In this PR, the users' constraints are concat'd with our constraints.
Since #1725, I hope there isn't a big problem with conflicts. I'd rather see how this plays out before adding more complexity to how we handle this particular problem. It's worth noting that the 'removing duplicate entries' idea is good but isn't foolproof, because each of the packages also have their own requirements specifiers that could conflict with what's set in the constraints. I'd rather just tell the minority of users that have conflicts to use DEPENDENCY_VERSIONS=latest and they can pin |
True, I also realized this later on, after posting that comment ;) |
ready for another review henryiii |
Following on from #1667, change the logic so that we retain user-set PIP_CONSTRAINT options, by concatting them with our own constraints