Your IP : 18.216.126.33


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/resolution/resolvelib/provider.pyc

�
�Rec@s�ddlmZddlmZddlmZer�ddlmZmZm	Z	m
Z
mZmZm
Z
mZddlmZmZddlmZndefd	��YZd
S(i����(tAbstractProvider(tMYPY_CHECK_RUNNINGi(t
Constraint(tAnytDicttIterabletOptionaltSequencetSettTupletUnion(tRequirementt	Candidate(tFactorytPipProvidercBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs1||_||_||_||_||_dS(N(t_factoryt_constraintst_ignore_dependenciest_upgrade_strategyt_user_requested(tselftfactorytconstraintstignore_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	<genexpr>Ds(talltbool(Rt
resolutiont
candidatestinformationt
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(Rtrequirementt	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
RR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.pyt<module>s:

?>