£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>

Rec           @   s  d  Z  d d l Z d d l m Z d d l m Z d d l m Z d d l m	 Z	 d d l
 m Z d d l m Z e j e  Z e rId d	 l m Z d d
 l m Z m Z m Z m Z m Z m Z m Z e e d f Z e e e f Z e e e e f Z e e e e f Z e e e e f Z  e e e  f Z! e e e! f Z" n  e d d d g  Z# d   Z$ d d  Z& d   Z' d   Z( d   Z) d S(   s'   Validation of dependencies of packages
iN(   t
   namedtuple(   t   canonicalize_name(   t   RequirementParseError(   t)   make_distribution_for_install_requirement(   t   get_installed_distributions(   t   MYPY_CHECK_RUNNING(   t   InstallRequirement(   t   Anyt   Callablet   Dictt   Optionalt   Sett   Tuplet   Listt   PackageDetailst   versiont   requiresc          K   s   |  i  k r# i t  d 6d d 6}  n  i  } t  } xx t |    D]j } t | j  } y  t | j | j    | | <Wq< t t f k
 r } t	 j
 d | |  t } q< Xq< W| | f S(   s8   Converts a list of distributions into a PackageSet.
    t
   local_onlyt   skips%   Error parsing requirements for %s: %s(    (   t   FalseR   R   t   project_nameR   R   R   t   OSErrorR   t   loggert   warningt   True(   t   kwargst   package_sett   problemst   distt   namet   e(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt!   create_package_set_from_installed%   s     c         C   sI  i  } i  } x0|  D](} t    } t    } | rC | |  rC q n  x |  | j D] } t | j  } | |  k r t }	 | j d k	 r | j j   }	 n  |	 rQ | j | | f  qQ qQ n  |  | j	 }
 | j
 j |
 d t sQ | j | |
 | f  qQ qQ W| rt | d t | | <n  | r t | d t | | <q q W| | f S(   s   Check if a package set is consistent

    If should_ignore is passed, it should be a callable that takes a
    package name and returns a boolean.
    t   prereleasest   keyN(   t   setR   R   R   R   t   markert   Nonet   evaluatet   addR   t	   specifiert   containst   sortedt   str(   R   t   should_ignoret   missingt   conflictingt   package_namet   missing_depst   conflicting_depst   reqR   t   missedR   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt   check_package_set:   s0    		c            sL   t    \ } } t |  |  } t | |    | t | d   f d   f S(   se   For checking if the dependency graph would be consistent after     installing given requirements
    R+   c            s
   |    k S(   N(    (   R   (   t	   whitelist(    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt   <lambda>v   t    (   R   t   _simulate_installation_oft   _create_whitelistR3   (   t
   to_installR   t   _t   would_be_installed(    (   R4   s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt   check_install_conflictsf   s    c         C   s   t    } xp |  D]h } t |  } | j   } | d k	 s@ t  t | j  } t | j | j	    | | <| j
 |  q W| S(   sB   Computes the version of packages after installing to_install.
    N(   R"   R   t   get_pkg_resources_distributionR$   t   AssertionErrorR   R!   R   R   R   R&   (   R9   R   t	   installedt   inst_reqt   abstract_distR   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/operations/check.pyR7   {   s    	c         C   sq   t  |   } x^ | D]V } | | k r+ q n  x; | | j D], } t | j  | k r9 | j |  Pq9 q9 Wq W| S(   N(   R"   R   R   R   R&   (   R;   R   t   packages_affectedR.   R1   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyR8      s    (*   t   __doc__t   loggingt   collectionsR    t   pip._vendor.packaging.utilsR   t   pip._vendor.pkg_resourcesR   t   pip._internal.distributionsR   t   pip._internal.utils.miscR   t   pip._internal.utils.typingR   t	   getLoggert   __name__R   t   pip._internal.req.req_installR   t   typingR   R   R	   R
   R   R   R   R*   t
   PackageSett   Missingt   Conflictingt   MissingDictt   ConflictingDictt   CheckResultt   ConflictDetailsR   R   R$   R3   R<   R7   R8   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/check.pyt   <module>   s0   4	,		