ó
ïRec @ s» d d l m Z d d l m Z d d l m Z m Z e ru d d l m Z d d l m
Z
d d l m Z m Z n d e f d „ ƒ YZ
d
e f d „ ƒ YZ d e f d
„ ƒ YZ d S( iÿÿÿÿ( t canonicalize_name( t MYPY_CHECK_RUNNINGi ( t Requirementt format_name( t SpecifierSet( t InstallRequirement( t Candidatet CandidateLookupt ExplicitRequirementc B sD e Z d „ Z d „ Z e d „ ƒ Z d „ Z d „ Z d „ Z RS( c C s
| | _ d S( N( t candidate( t selfR ( ( 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/requirements.pyt __init__ s c C s d j d | j j d | j ƒ S( Ns {class_name}({candidate!r})t
class_nameR ( t formatt __class__t __name__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/requirements.pyt __repr__ s c C s
| j j S( N( R t name( 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/requirements.pyR s c C s
| j j ƒ S( N( R t format_for_error( 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/requirements.pyR ! s c C s
| j d f S( N( R t None( 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/requirements.pyt get_candidate_lookup% s c C s
| | j k S( N( R ( 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/requirements.pyt is_satisfied_by) s ( R t
__module__R R t propertyR R 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/requirements.pyR s t SpecifierRequirementc B sM e Z d „ Z d „ Z d „ Z e d „ ƒ Z d „ Z d „ Z d „ Z RS( c C s: | j d k s t d ƒ ‚ | | _ t | j ƒ | _ d S( Ns This is a link, not a specifier( t linkR t AssertionErrort _ireqt frozensett extrast _extras( R
t ireq( ( 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/requirements.pyR / s c C s t | j j ƒ S( N( t strR t req( 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/requirements.pyt __str__5 s c C s( d j d | j j d t | j j ƒ ƒ S( Ns {class_name}({requirement!r})R t requirement( R
R R R R 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/requirements.pyR 9 s c C s% t | j j j ƒ } t | | j ƒ S( N( R R R! R R R ( R
t canonical_name( ( 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/requirements.pyR @ s c C s{ g t | ƒ j d ƒ D] } | j ƒ ^ q } t | ƒ d k rD d St | ƒ d k r^ | d Sd j | d ƒ d | d S( Nt ,i t i s , iÿÿÿÿs and ( R t splitt stript lent join( R
t st parts( ( 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/requirements.pyR F s .c C s
d | j f S( N( R 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/requirements.pyR U s c C sU | j | j k s0 t d j | j | j ƒ ƒ ‚ | j j j } | j | j d t ƒS( Ns? Internal issue: Candidate is not for this requirement {} vs {}t prereleases( R R R
R R! t specifiert containst versiont True( R
R t spec( ( 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/requirements.pyR Y s
(
R R R R" R R R R 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/requirements.pyR . s t RequiresPythonRequirementc B sJ e Z d Z d „ Z d „ Z e d „ ƒ Z d „ Z d „ Z d „ Z RS( s9 A requirement representing Requires-Python metadata.
c C s | | _ | | _ d S( N( R. t
_candidate( R
R. t match( ( 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/requirements.pyR h s c C s% d j d | j j d t | j ƒ ƒ S( Ns {class_name}({specifier!r})R R. ( R
R R R 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/requirements.pyR m s c C s
| j j S( N( R4 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/requirements.pyR t s c C s d t | j ƒ S( Ns Python ( R 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/requirements.pyR y s c C s/ | j j | j j d t ƒr+ | j d f Sd S( NR- ( NN( R. R/ R4 R0 R1 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/requirements.pyR } s
c C s: | j | j j k s! t d ƒ ‚ | j j | j d t ƒS( Ns Not Python candidateR- ( R R4 R R. R/ R0 R1 ( 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/requirements.pyR ƒ s !(
R R t __doc__R R R R R 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/requirements.pyR3 e s N( t pip._vendor.packaging.utilsR t pip._internal.utils.typingR t baseR R t pip._vendor.packaging.specifiersR t pip._internal.req.req_installR R R R R R3 ( ( ( 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/requirements.pyt