+
    kGj2	                         R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHtHt ^ RIHt ^ R	IHt ]P&                  ! ]4      tRt]3R
 R lltR R ltR R ltR# )z"
Fetch matching wheels from pypi.
N)Iterable)Path)
PrefixData)download)	MatchSpec)PackageFinderTargetPython)CondaPypiError)conda_to_requiresc                R    V ^8  d   QhR\         R\        \        ,          R\        /# )   prefix
index_urlsreturn)r   r   strr   )formats   "5lib/python3.14/site-packages/conda_pypi/downloader.py__annotate__r      s*           c                "   \        V 4      p\        VP                  R4      4      pV'       g   \        RV  24      hV^ ,          P                  p\        \        \        VP                  R4      4      4      p\        VR7      p\        VRVR7      # )z.
Finder with prefix's Python, not our Python.
pythonzPython not found in .)py_verz:all:)target_pythononly_binaryr   )r   listqueryr	   versiontuplemapintsplitr   r   )r   r   prefix_datapython_recordsr   r   s   &&    r   get_package_finderr$      s     V$K+++H56N3F8<==A&&F3sFLL-./F /M# r   c                0    V ^8  d   QhR\         R\        /# )r   finderpackage)r   r   )r   s   "r   r   r   +   s     / / / /r   c                ~    \        V4      p\        V4      pV'       g   \        RV R24      hV P                  V4      # )z7
Convert :package: to `MatchSpec`; return best `Link`.
zCould not convert z to Python Requirement()!)r   r
   RuntimeErrorfind_best_match)r&   r'   specrequirements   &&  r   find_packager-   +   sB     WD#D)K/y8QRSS!!+..r   c                H    V ^8  d   QhR\         R\        R\        R\        /# )r   r&   targetr'   r   )r   r   r   )r   s   "r   r   r   6   s(      = $   r   c                   \        W4      pVP                  ;'       d    VP                  P                  pV'       g   \        RV 24      hVP                  P                  R^4      R,          pVP                  R4      '       g   \        RV R24      h\        P                  RV RV 24       W,          p\        VP                  V4       V# )	z5
Find package on PyPI, download best link to target.
zNo PyPI link for /z.whlzNo wheel file available for zZ. Only source distributions are available. conda-pypi requires wheel files for conversion.zFetch z as )r-   bestlinkr	   url_without_fragmentrsplitendswithloginfor   url)r&   r/   r'   resultr4   filenametarget_paths   &&&    r   find_and_fetchr>   6   s     &*F;;++6;;++D0	:;; ((//Q7;HV$$*7) 4> ?
 	
 HHvgYd8*-.#KTXX{#r   )zhttps://pypi.org/simple/)__doc__loggingcollections.abcr   pathlibr   conda.core.prefix_datar   "conda.gateways.connection.downloadr   conda.models.match_specr   unearthr   r   conda_pypi.exceptionsr	   conda_pypi.translater
   	getLogger__name__r8   DEFAULT_INDEX_URLSr$   r-   r>    r   r   <module>rM      sQ     $  - 7 - / 0 2!2 
 !3*/r   