ó ïRec@s³ddlmZddlmZddlmZer™ddlmZmZm Z m Z m Z m Z m Z mZddlmZmZddlmZndefd „ƒYZd S( iÿÿÿÿ(tAbstractProvider(tMYPY_CHECK_RUNNINGi(t Constraint(tAnytDicttIterabletOptionaltSequencetSettTupletUnion(t Requirementt Candidate(tFactoryt PipProvidercBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs1||_||_||_||_||_dS(N(t_factoryt _constraintst_ignore_dependenciest_upgrade_strategyt_user_requested(tselftfactoryt constraintstignore_dependenciestupgrade_strategytuser_requested((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyt__init__*s    cCs|jS(N(tname(Rt dependency((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytidentify9scCs&td„|Dƒƒ}|t|ƒfS(Ncss!|]\}}|dk VqdS(N(tNone(t.0t_tparent((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pys Ds(talltbool(Rt resolutiont candidatest informationt transitive((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytget_preference=scs^|s gS|dj}‡fd†}ˆjj|dˆjj|tjƒƒd||ƒ ƒS(Nics3ˆjdkrtSˆjdkr/|ˆjkStS(sÔAre upgrades allowed for this project? This checks the upgrade strategy, and whether the project was one that the user specified in the command line, in order to decide whether we should upgrade if there's a newer version available. (Note that we don't need access to the `--upgrade` flag, because an upgrade strategy of "to-satisfy-only" means that `--upgrade` was not specified). teagersonly-if-needed(RtTrueRtFalse(R(R(s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyt_eligible_for_upgradeMs  t constrainttprefers_installed(RRtfind_candidatesRtgetRtempty(Rt requirementsRR,((Rs›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyt find_matchesGs  cCs |j|ƒS(N(tis_satisfied_by(Rt requirementt candidate((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyR4escCs6|j }g|j|ƒD]}|dk r|^qS(N(Rtiter_dependenciesR(RR6t with_requirestr((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pytget_dependenciesis (t__name__t __module__RRR(R3R4R:(((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyR)s     N(t pip._vendor.resolvelib.providersRtpip._internal.utils.typingRtbaseRttypingRRRRRRR R R R RR R(((s›/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyts: