<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
ó
ïRec           @   sÂ   d  d l  Z  d  d l Z d  d l m Z d  d l m Z d  d l m Z e r“ d  d l m	 Z	 m
 Z
 m Z m Z d  d l m Z d d l m Z n  d	 „  Z d
 „  Z d e j f d „  ƒ  YZ d S(   iÿÿÿÿN(   t   collections_abc(   t	   lru_cache(   t   MYPY_CHECK_RUNNING(   t   Callablet   Iteratort   Optionalt   Set(   t   _BaseVersioni   (   t	   Candidatec         c   sH   t  ƒ  } x8 |  D]0 } | j | k r+ q n  | j | j ƒ | Vq Wd  S(   N(   t   sett   versiont   add(   t
   candidatest   returnedt	   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/found_candidates.pyt   _deduplicated_by_version   s    	c         C   s:   t  t j |  g | ƒ d t j d ƒ d t ƒ} t | ƒ S(   sz  Iterator for ``FoundCandidates``.

    This iterator is used when the resolver prefers to upgrade an
    already-installed package. Candidates from index are returned in their
    normal ordering, except replaced when the version is already installed.

    Since candidates from index are already sorted by reverse version order,
    `sorted()` here would keep the ordering mostly intact, only shuffling the
    already-installed candidate into the correct position. We put the already-
    installed candidate in front of those from the index, so it's put in front
    after sorting due to Python sorting's stableness guarentee.
    t   keyR
   t   reverse(   t   sortedt	   itertoolst   chaint   operatort
   attrgettert   Truet   iter(   t	   installedt   othersR   (    (    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/found_candidates.pyt   _insert_installed   s
    	t   FoundCandidatesc           B   sP   e  Z d  Z d „  Z d „  Z d „  Z d „  Z e d d ƒ d „  ƒ Z e Z	 RS(   sc  A lazy sequence to provide candidates to the resolver.

    The intended usage is to return this from `find_matches()` so the resolver
    can iterate through the sequence multiple times, but only access the index
    page when remote packages are actually needed. This improve performances
    when suitable candidates are already installed on disk.
    c         C   s   | |  _  | |  _ | |  _ d  S(   N(   t   _get_otherst
   _installedt   _prefers_installed(   t   selft
   get_othersR   t   prefers_installed(    (    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/found_candidates.pyt   __init__9   s    		c         C   s   t  d ƒ ‚ d  S(   Ns   don't do this(   t   NotImplementedError(   R    t   index(    (    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/found_candidates.pyt   __getitem__C   s    c         C   sd   |  j  s |  j ƒ  } nB |  j rB t j |  j  g |  j ƒ  ƒ } n t |  j  |  j ƒ  ƒ } t | ƒ S(   N(   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/found_candidates.pyt   __iter__J   s    		!c         C   s   t  d ƒ ‚ d  S(   Ns   don't do this(   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/found_candidates.pyt   __len__T   s    t   maxsizei   c         C   s    |  j  r |  j r t St |  ƒ S(   N(   R   R   R   t   any(   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/found_candidates.pyt   __bool__[   s    (
   t   __name__t
   __module__t   __doc__R#   R&   R'   R(   R   R+   t   __nonzero__(    (    (    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/found_candidates.pyR   1   s   	
		
	(   R   R   t   pip._vendor.six.movesR    t   pip._internal.utils.compatR   t   pip._internal.utils.typingR   t   typingR   R   R   R   t   pip._vendor.packaging.versionR   t   baseR   R   R   t   SequenceR   (    (    (    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/found_candidates.pyt   <module>   s   "	
	