File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/pip/_internal/resolution/resolvelib Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ New resolver: A distribution's ``Requires-Python `` metadata is now checked
2+ before its Python dependencies. This makes the resolver fail quicker when
3+ there's a interpreter version conflict.
Original file line number Diff line number Diff line change @@ -256,10 +256,10 @@ def _get_requires_python_dependency(self):
256256
257257 def iter_dependencies (self , with_requires ):
258258 # type: (bool) -> Iterable[Optional[Requirement]]
259+ yield self ._get_requires_python_dependency ()
259260 requires = self .dist .requires () if with_requires else ()
260261 for r in requires :
261262 yield self ._factory .make_requirement_from_spec (str (r ), self ._ireq )
262- yield self ._get_requires_python_dependency ()
263263
264264 def get_install_requirement (self ):
265265 # type: () -> Optional[InstallRequirement]
You can’t perform that action at this time.
0 commit comments