+
    <j2                        R t ^ RIt^ RIH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 ^ R	I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  ^ 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/ ^ RI0H1t1H2t2H3t3 ]Ph                  ! ]54      t6]3Pn                  ]3Pp                  ]3Pr                  .t:R R lt; ! R R]4      t<R# )zContains the RequirementCommand base class.

This class is in a separate module so the commands that do not always
need PackageFinder capability don't unnecessarily import the
PackageFinder machinery and all its vendored dependencies, etc.
N)partial)Values)AnyListOptionalTuple)
WheelCache)
cmdoptions)IndexGroupCommand)SessionCommandMixin)CommandErrorPreviousBuildDirError)LinkCollectorPackageFinder)SelectionPreferences)TargetPython)
PipSession)BuildTracker)RequirementPreparer)install_req_from_editableinstall_req_from_line#install_req_from_parsed_requirementinstall_req_from_req_string)parse_dependency_groups)parse_requirements)InstallRequirement)BaseResolver)TempDirectoryTempDirectoryTypeRegistrytempdir_kindsc                0    V ^8  d   QhR\         R\         /# )   funcreturnr   )formats   "R/opt/headortail/venv/lib/python3.14/site-packages/pip/_internal/cli/req_command.py__annotate__r(   3   s      s s     c                *   a a R R loR VV 3R llpV# )zFDecorator for common logic related to managing temporary
directories.
c                (    V ^8  d   QhR\         RR/# )r"   registryr$   N)r   )r&   s   "r'   r(   "with_cleanup.<locals>.__annotate__8   s     * *-F *4 *r)   c                 D    \          F  pV P                  VR 4       K  	  R# )FN)KEEPABLE_TEMPDIR_TYPES
set_delete)r,   ts   & r'   configure_tempdir_registry0with_cleanup.<locals>.configure_tempdir_registry8   s    'A5) (r)   c          	      t    V ^8  d   QhR\         R\        R\        \        ,          R\        \
        ,          /# )r"   selfoptionsargsr$   )RequirementCommandr   r   r   r   int)r&   s   "r'   r(   r-   <   s4       +19=c	#r)   c                    < V P                   f   Q hVP                  '       d   S! V P                   4        S! WV4      #   \         d    S! T P                   4       h i ; iN)tempdir_registryno_cleanr   )r5   r6   r7   r2   r#   s   &&&r'   wrapperwith_cleanup.<locals>.wrapper<   se     $$000&t'<'<=	t,,$ 	 't'<'<=	s   A   A )r#   r>   r2   s   f @r'   with_cleanuprA   3   s    
*   Nr)   c                      a a ] tR t^Ot oV3R lV 3R llt]V3R lR l4       t]RV3R lR ll4       t]RV3R lR ll4       t	V3R	 lR
 lt
]V3R lR l4       tRV3R lR lltRtVtV ;t# )r8   c                *   < V ^8  d   QhRS[ RS[ RR/# )r"   r7   kwr$   Nr%   )r&   __classdict__s   "r'   r(   RequirementCommand.__annotate__P   s"     8 8c 8 8 8r)   c                   < \         SV `  ! V/ VB  V P                  P                  \        P
                  ! 4       4       V P                  P                  \        P                  ! 4       4       R # r;   )super__init__cmd_opts
add_optionr	   dependency_groupsr=   )r5   r7   rD   	__class__s   &*,r'   rI   RequirementCommand.__init__P   sK    $%"%  !=!=!?@  !4!4!67r)   c                &   < V ^8  d   QhRS[ RS[/# )r"   r6   r$   )r   str)r&   rE   s   "r'   r(   rF   W   s      F s r)   c                ,    RV P                   9   d   R# R# )zEDetermines which resolver should be used, based on the given options.zlegacy-resolverlegacy
resolvelib)deprecated_features_enabledr6   s   &r'   determine_resolver_variant-RequirementCommand.determine_resolver_variantV   s      C CCr)   c                `   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[RS[S[,          RS[R	S[	/	# )
r"   temp_build_dirr6   build_trackersessionfinderuse_user_sitedownload_dir	verbosityr$   )
r   r   r   r   r   boolr   rP   r9   r   )r&   rE   s   "r'   r(   rF   _   si     5
 5
%5
 5
 $	5

 5
 5
 5
 sm5
 5
 
5
r)   c	                   VP                   p	V	f   Q hRp
V P                  V4      pVR8X  d.   RVP                  9   pV'       d   \        P	                  R4       M*Rp
RpRVP                  9   d   \        P	                  R4       \        V	VP                  VVP                  VP                  VVVP                  VVP                  VVVV
VP                  R7      # )zA
Create a RequirementPreparer instance for the given parameters.
FrS   z	fast-depszpip is using lazily downloaded wheels using HTTP range requests to obtain dependency information. This experimental feature is enabled through --use-feature=fast-deps and it is not ready for production.Tz;fast-deps has no effect when used with the legacy resolver.)	build_dirsrc_dirr^   build_isolationcheck_build_depsrZ   r[   progress_barr\   require_hashesr]   
lazy_wheelr_   legacy_resolverresume_retries)pathrV   features_enabledloggerwarningr   rc   rd   re   rf   rg   rj   )clsrY   r6   rZ   r[   r\   r]   r^   r_   temp_build_dir_pathri   resolver_variantrh   s   &&&&&&&&&    r'   make_requirement_preparer,RequirementCommand.make_requirement_preparer^   s     -11"...99'B|+$(@(@@J" #OJg666Q #)OO%#33$55' --"11'!+"11
 	
r)   c                   < V ^8  d   QhRS[ RS[RS[RS[S[,          RS[RS[RS[RS[R	S[R
S[S[,          RS[S[S[R3,          ,          RS[	/# )r"   preparerr\   r6   wheel_cacher]   ignore_installedignore_requires_pythonforce_reinstallupgrade_strategy
use_pep517py_version_info.r$   )
r   r   r   r   r   r`   rP   r   r9   r   )r&   rE   s   "r'   r(   rF      s     8
 8
%8
 8
 	8

 j)8
 8
 8
 !%8
 8
 8
 TN8
 "%S/28
 
8
r)   c                   \        \        VP                  V
R7      pV P                  V4      pVR8X  dS   ^ RIpVP
                  P                  P                  P                  P                  VVVVVVP                  VVVV	VR7      # ^ RIpVP
                  P                  P                  P                  P                  VVVVVVP                  VVVV	VR7      # )z6
Create a Resolver instance for the given parameters.
)isolatedr{   rS   N)ru   r\   rv   make_install_reqr]   ignore_dependenciesrw   rx   ry   rz   r|   )r   r   isolated_moderV   ,pip._internal.resolution.resolvelib.resolver	_internal
resolutionrS   resolverResolverr   (pip._internal.resolution.legacy.resolverrR   )ro   ru   r\   r6   rv   r]   rw   rx   ry   rz   r{   r|   r   rq   pips   &&&&&&&&&&&&   r'   make_resolver RequirementCommand.make_resolver   s    $ #'**!

 99'B |+?==++66??HH!'!1+$+$?$?!1'= /!1 / I   	8}}''..77@@#-' ' ; ;-#9+-+ A 
 	
r)   c                X   < V ^8  d   QhRS[ S[,          RS[RS[RS[RS[ S[,          /# )r"   r7   r6   r\   r[   r$   )r   rP   r   r   r   r   )r&   rE   s   "r'   r(   rF      sN     c c3ic c 	c
 c 
 	!cr)   c                   . pVP                    FC  p\        VRVVVR7       F,  p\        VVP                  RR7      pVP	                  V4       K.  	  KE  	  V FD  p	\        V	RVP                  VP                  R\        VRR4      R7      pVP	                  V4       KF  	  VP                  '       dQ   \        VP                  4       F7  p	\        V	VP                  VP                  RR7      pVP	                  V4       K9  	  VP                   FC  p	\        V	RVP                  VP                  \        VRR4      R	7      pVP	                  V4       KE  	  VP                   Fy  p\        WcW$R
7       Fe  p\        TVP                  VP                  RVP                  '       d   VP                  P                  R4      MRR7      pVP	                  V4       Kg  	  K{  	  \         ;QJ d    R V 4       F  '       g   K   RM	  RM! R V 4       4      '       d   RVn        V'       g   VP                  '       g   VP                  '       g   VP                  '       g{   RV P$                  /p
VP&                  '       d@   \)        RP*                  ! R/ \-        V
RP/                  VP&                  4      R7      B 4      h\)        RP*                  ! R/ V
B 4      hV# )zC
Parse command-line arguments into the corresponding requirements.
T)
constraintr\   r6   r[   F)r~   user_suppliedNconfig_settings)
comes_fromr~   r{   r   r   )r~   r{   r   )r   r~   r{   r   )r\   r6   r[   )r~   r{   r   r   c              3   8   "   T F  qP                   x  K  	  R # 5ir;   )has_hash_options).0reqs   & r'   	<genexpr>6RequirementCommand.get_requirements.<locals>.<genexpr>  s     <|##|s   namezXYou must give at least one requirement to {name} (maybe you meant "pip {name} {links}"?) )linkszHYou must give at least one requirement to {name} (see "pip help {name}")r@   )constraintsr   r   r   appendr   r{   getattrrL   r   r   	editablesr   requirementsr6   getanyrg   r   
find_linksr   r&   dictjoin)r5   r7   r6   r\   r[   r   filename
parsed_req
req_to_addr   optss   &&&&&      r'   get_requirements#RequirementCommand.get_requirements   s    24++H0
 A$22"'

 ##J/ , C. .."--" '1BD IJ 
+  $$$.w/H/HI8$22&11"&	
 ##J/ J $$C2" .."-- '1BD IJ 
+ %  ,,H0
 A$22&11"& &--- #**../@A!

 ##J/ -$ 3<|<333<|<<<%)G"    ###(((DII&D!!!">>DfE t388G4F4F+GH  #..4f5 =7;= 
 r)   c                $   < V ^8  d   QhRS[ RR/# )r"   r\   r$   Nr   )r&   rE   s   "r'   r(   rF   7  s     # # #4 #r)   c                |    V P                   pVP                  4       pV'       d   \        P                  V4       R# R# )z5
Trace basic information about the provided objects.
N)search_scopeget_formatted_locationsrm   info)r\   r   	locationss   &  r'   trace_basic_info#RequirementCommand.trace_basic_info6  s1     ** 88:	KK	" r)   c          
      X   < V ^8  d   QhRS[ RS[RS[S[,          RS[S[,          RS[/# )r"   r6   r[   target_pythonrx   r$   )r   r   r   r   r`   r   )r&   rE   s   "r'   r(   rF   A  sF     
 

 
  -	

 !)
 

r)   c                    \         P                  ! W!R7      p\        RVP                  VP                  VP
                  VR7      p\        P                  ! VVVR7      # )z
Create a package finder appropriate to this requirement command.

:param ignore_requires_python: Whether to ignore incompatible
    "Requires-Python" values in links. Defaults to False.
rU   T)allow_yankedformat_controlallow_all_prereleasesprefer_binaryrx   )link_collectorselection_prefsr   )r   creater   r   prer   r   )r5   r6   r[   r   rx   r   r   s   &&&&&  r'   _build_package_finder(RequirementCommand._build_package_finderA  s[     '--gG."11")++!//#9
 ##)+'
 	
r)   r@   )N    )NFTFFzto-satisfy-onlyNN)NN)__name__
__module____qualname____firstlineno__rI   staticmethodrV   classmethodrr   r   r   r   r   __static_attributes____classdictcell____classcell__)rM   rE   s   @@r'   r8   r8   O   s     8 8   5
 5
 5
n 8
 8
 8
tc cJ # #
 
 
r)   r8   )=__doc__logging	functoolsr   optparser   typingr   r   r   r   pip._internal.cacher   pip._internal.clir	   pip._internal.cli.index_commandr
   r   pip._internal.exceptionsr   r   pip._internal.index.collectorr   "pip._internal.index.package_finderr   $pip._internal.models.selection_prefsr   "pip._internal.models.target_pythonr   pip._internal.network.sessionr   ,pip._internal.operations.build.build_trackerr    pip._internal.operations.preparer   pip._internal.req.constructorsr   r   r   r   &pip._internal.req.req_dependency_groupr   pip._internal.req.req_filer   pip._internal.req.req_installr   pip._internal.resolution.baser   pip._internal.utils.temp_dirr   r   r    	getLoggerr   rm   	BUILD_ENVEPHEM_WHEEL_CACHE	REQ_BUILDr/   rA   r8   r@   r)   r'   <module>r      s       - - * ( = V H 7 < E ; 4 E @  K 9 < 6  
		8	$ ## 8L
* L
r)   