-
Notifications
You must be signed in to change notification settings - Fork 3k
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
New resolver no deps extras install self #8678
New resolver no deps extras install self #8678
Conversation
I dont understand the CI failures…
But… the line is present? 😞 |
See #8674 for why the CI is failing. :) |
How about... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On board with the overall approach (yay technical debt!) and made a suggestion for naming. :)
ExtrasCandidate need to provide one dependency on the non-extra-ed self.
fc5bcd5
to
77cedcf
Compare
I think it should be the other way around though? The base requirement of an def iter_dependencies(self, include_requires: bool) -> Iterable[Optional[Requirement]]:
"""Return dependencies of this candidate.
:param include_requires: Dependencies from Requires-Dist are returned only if this is true.
""" |
Indeed! Let's do that. |
Updated. |
…s-install-self
Fix #8677.
iter_dependencies(ignore_dependencies=True)
feels weird, but I can’t think of a better argument name.