+
     h  c                   s   ^ RI t ^ RIt^ RIHt ^ RIHtHtHtHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHtHt ^ RIHtHt ^ R	IHtHtH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$ ]PJ                  ! ]&4      t' ! R R]4      t(R# )    N)Values)AnyIterableListOptional)Version)
cmdoptions)IndexGroupCommand)ERRORSUCCESS)get_installed_distributionprint_dist_installation_info)CommandErrorDistributionNotFoundPipError)LinkCollector)PackageFinder)SelectionPreferences)TargetPython)
PipSession)write_outputc                   sx   a  ] tR t^t o RtRtRtV 3R lR ltV 3R lR ltRV 3R	 lR
 llt	V 3R lR lt
RtV tR# )IndexCommandz5
Inspect information available from package indexes.
Tz&
        %prog versions <package>
    c                s   < V ^8  d   QhRR/# )   returnN format__classdict__   "A/usr/lib/python3.14/site-packages/pip/_internal/commands/index.py__annotate__IndexCommand.__annotate__$   s     : :T :    c                s   \         P                  ! V P                  4       V P                  P                  \         P                  ! 4       4       V P                  P                  \         P
                  ! 4       4       V P                  P                  \         P                  ! 4       4       V P                  P                  \         P                  ! 4       4       V P                  P                  \         P                  ! 4       4       \         P                  ! \         P                  V P                  4      pV P                  P                  ^ V4       V P                  P                  ^ V P                  4       R# )r    N)r   Zadd_target_python_optionsZcmd_optsZ
add_optionignore_requires_pythonprejsonZ	no_binaryZonly_binaryZmake_option_groupZindex_groupZparserZinsert_option_group)selfZ
index_opts   & r   add_optionsZIndexCommand.add_options$   s    ,,T]];  !B!B!DE  !12  !23  !5!5!78  !7!7!9:11""KK


 	'':6''4==9r!   c                s<   < V ^8  d   QhRS[ RS[S[,          RS[/# )r   optionsargsr   )r   r   strZintr   r   r   r   r    5   s&      6 c s r!   c                s   R V P                   /pV'       d   V^ ,          V9  d5   \        P                  RRP                  \	        V4      4      4       \
        # V^ ,          p W4,          ! WR,          4       \        #   \         d7   p\        P                  TP                  ^ ,          4       \
        u Rp?# Rp?ii ; i)versionszNeed an action (%s) to perform., :   NNN)	get_available_package_versionsloggerZerrorjoinsortedr	   r   r)   r
   )r%   r(   r)   ZhandlersZactionZes   &&&   r   runZIndexCommand.run5   s    ;;

 tAwh.LL1		&*+ La	W2h/
 	  	LL#L	s   #A> >B?	+B:4B?:B?Nc          
      sX   < V ^8  d   QhRS[ RS[RS[S[,          RS[S[,          RS[/# )r   r(   sessiontarget_pythonr"   r   )r   r   r   r   Zboolr   r   r   r   r   r    M   sF     
 

 
  -	

 !)
 

r!   c                s    \         P                  ! W!R7      p\        RVP                  VR7      p\        P                  ! VVVR7      # )z;
Create a package finder appropriate to the index command.
)r(   F)Zallow_yankedZallow_all_prereleasesr"   )link_collectorselection_prefsr4   )r   Zcreater   r#   r   )r%   r(   r3   r4   r"   r5   r6   s   &&&&&  r   _build_package_finderZ"IndexCommand._build_package_finderM   sK     '--gG /")++#9
 ##)+'
 	
r!   c                s:   < V ^8  d   QhRS[ RS[S[,          RR/# )r   r(   r)   r   N)r   r   r   r   r   r   r   r    f   s'     37 37f 37DI 37RV 37r!   c           	     s~   \        V4      ^8w  d   \        R4      h\        P                  ! V4      pV^ ,          pV P	                  V4      ;_uu_ 4       pV P                  VVVVP                  R7      pR VP                  V4       4       pVP                  '       g
   R V 4       p\        V4      pV'       g   \        RV 24      h\        VRR7       Uu. uF  p\        V4      NK  	  p	pV	^ ,          p
RRR4       \        V4      pVP                  '       dF   R	VR
X	RX
/pVe   \        VP                  4      VR&   \!        \        P"                  ! V4      4       R# \!        V RX
 R24       \!        RP%                  RP'                  X	4      4      4       \)        W4       R# u upi   + '       g   i     L; i)r-   z(You need to specify exactly one argument)r(   r3   r4   r"   c              3   s8   "   T F  qP                   x  K  	  R # 5iN)version).0Z	candidater&   r   	<genexpr>>IndexCommand.get_available_package_versions.<locals>.<genexpr>u   s      +3Ti!!3Ts   c              3   sL   "   T F  qP                   '       d   K  Vx  K  	  R # 5ir8   )Zis_prerelease)r:   r9   r&   r   r;   r<   {   s      +3;P;PGG8s   $
$z#No matching distribution found for T)ZreverseNZnamer+   latestZinstalled_versionz (Z)zAvailable versions: {}r,   )Zlenr   r   Zmake_target_pythonZ_build_sessionr7   r"   Zfind_all_candidatesr#   Zsetr   r1   r*   r   r$   r9   r   Zdumpsr   r0   r   )r%   r(   r)   r4   Zqueryr3   Zfinderr+   ZverZformatted_versionsr=   ZdistZstructured_outputs   &&&          r   r.   Z+IndexCommand.get_available_package_versionsf   s   t9>IJJ"55g>Q  ))W//+'.'E'E	 0 F+393M3Me3T+H ;;;+3 8}H*9%A  7=Xt6T!U6Ts#c(6T!U'*F3 *6 *%0<<<.&! 9<T\\9J!"56$567 E7"VHA./188CU9VWX(6) "V1 *)s   BF,F'+F,'F,,F<	r   )NN)__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Zignore_require_venvZusager'   r2   r7   r.   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      sA      E: :" 0
 
237 37r!   r   ))r$   ZloggingZoptparser   Ztypingr   r   r   r   Zpip._vendor.packaging.versionr   Zpip._internal.clir   Zpip._internal.cli.req_commandr   Zpip._internal.cli.status_codesr	   r
   Zpip._internal.commands.searchr   r   Zpip._internal.exceptionsr   r   r   Zpip._internal.index.collectorr   Z"pip._internal.index.package_finderr   Z$pip._internal.models.selection_prefsr   Z"pip._internal.models.target_pythonr   Zpip._internal.network.sessionr   Zpip._internal.utils.miscr   Z	getLoggerr>   r/   r   r   r!   r   <module>r?      s_       0 0 1 ( ; 9 R Q 7 < E ; 4 1			8	$7$ 7r!   