+
    Îib@                    :   R t ^ RIHt ^ RIt^ RIt^ RIHt ^ RIHt ^ RI	H
t
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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/H0t0 ^ RI1H2t2H3t3 ^ RI4H5t5 ^ RI6H7t7 ^ RI8H9t9 ^ RI:H;t; ^ RI<H=t= ^ RI>H?t?H@t@HAtA ]P                  ! ]C4      tDR R ltE]AP                  ]AP                  ]AP                  .tI]! RRR 7      tJR! R" ltKR# R$ ltL ! R% R]4      tMR# )&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.
)annotationsN)partial)Values)AnyCallableTypeVar)BuildEnvironmentInstaller"InprocessBuildEnvironmentInstaller#SubprocessBuildEnvironmentInstaller)
WheelCache)
cmdoptions)make_target_python)IndexGroupCommand)SessionCommandMixin)CommandErrorPreviousBuildDirErrorUnsupportedPythonVersion)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)PEP723Exceptionpep723_metadata)parse_dependency_groups)parse_requirements)InstallRequirement)BaseResolver)check_requires_python)TempDirectoryTempDirectoryTypeRegistrytempdir_kindsc                    V ^8  d   QhRRRR/# )   optionsr   returnbool )formats   "l/Users/ahmad/.openclaw/workspace/scripts/.venv/lib/python3.14/site-packages/pip/_internal/cli/req_command.py__annotate__r0   ;   s     E Ev E$ E    c                F    \         P                  P                  R4      R8H  # )z
Check if regular constraints should be ignored because
we are in a isolated build process and build constraints
feature is enabled but no build constraints were passed.
 _PIP_IN_BUILD_IGNORE_CONSTRAINTS1)osenvirongetr*   s   &r/   !should_ignore_regular_constraintsr9   ;   s     ::>><=DDr1   	_CommandTRequirementCommand)boundc                    V ^8  d   QhRRRR/# )r)   funcz-Callable[[_CommandT, Values, list[str]], int]r+   r-   )r.   s   "r/   r0   r0   O   s      
72r1   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/# )r)   registryr&   r+   Noner-   )r.   s   "r/   r0   "with_cleanup.<locals>.__annotate__V   s     * *-F *4 *r1   c                D    \          F  pV P                  VR 4       K  	  R# )FN)KEEPABLE_TEMPDIR_TYPES
set_delete)rA   ts   & r/   configure_tempdir_registry0with_cleanup.<locals>.configure_tempdir_registryV   s    'A5) (r1   c               (    V ^8  d   QhRRRRRRRR/# )	r)   selfr:   r*   r   args	list[str]r+   intr-   )r.   s   "r/   r0   rC   Z   s(      i & 	 c r1   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   )rK   r*   rL   rH   r>   s   &&&r/   wrapperwith_cleanup.<locals>.wrapperZ   sc    $$000&t'<'<=	t,,$ 	 't'<'<=	s   A   Ar-   )r>   rS   rH   s   f @r/   with_cleanuprU   O   s    *  Nr1   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r)   constraint_filesrM   finderr   r*   r   sessionr   r+   list[InstallRequirement]r-   )r.   s   "r/   r0   r0   k   s:        	
 r1   c           	         . pV  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# )T)
constraintrX   r*   rY   Fisolateduser_supplied)r!   r   isolated_modeappend)rW   rX   r*   rY   requirementsfilename
parsed_req
req_to_adds   &&&&    r/   parse_constraint_filesrf   k   sd     L$,
J = ..#J
 
+
 % r1   c                     a  ] tR t^tR V 3R llt]R R l4       t]RR R ll4       t]RR R ll4       t	R	 R
 lt
]R R l4       tRR R lltRtV ;t# )r;   c               $    V ^8  d   QhRRRRRR/# )r)   rL   r   kwr+   rB   r-   )r.   s   "r/   r0   RequirementCommand.__annotate__   s!     8 8c 8 8 8r1   c                	   < \         SV `  ! V/ VB  V P                  P                  \        P
                  ! 4       4       V P                  P                  \        P                  ! 4       4       R # rP   )super__init__cmd_opts
add_optionr   dependency_groupsrR   )rK   rL   ri   	__class__s   &*,r/   rm   RequirementCommand.__init__   sK    $%"%  !=!=!?@  !4!4!67r1   c                    V ^8  d   QhRRRR/# )r)   r*   r   r+   strr-   )r.   s   "r/   r0   rj      s      F s r1   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_enabledr8   s   &r/   determine_resolver_variant-RequirementCommand.determine_resolver_variant   s      C CCr1   c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )r)   temp_build_dirr%   r*   r   build_trackerr   rY   r   rX   r   use_user_siter,   download_dirz
str | None	verbosityrN   r+   r   r-   )r.   s   "r/   r0   rj      so     N
 N
%N
 N
 $	N

 N
 N
 N
 !N
 N
 
N
r1   c	                v   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R. 4      pRVP                  9   pR	VP                  9   d1   \        WW$4      p\        VVVV\        VP                  4      R
7      pM\        VVVR7      p\        V	VP                  VVP                  VVP                  VVVP                  VVP                   VVVV
R7      # )zA
Create a RequirementPreparer instance for the given parameters.
Frw   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_constraintszbuild-constraintzinprocess-build-deps)rX   r}   r   r   wheel_cache)r    build_constraint_feature_enabled)	build_dirsrc_dirr   build_isolationbuild_isolation_installercheck_build_depsr}   rY   progress_barrX   require_hashesr~   
lazy_wheelr   legacy_resolver)pathry   features_enabledloggerwarninggetattrrf   r	   r   	cache_dirr
   r   r   r   r   r   r   )clsr|   r*   r}   rY   rX   r~   r   r   temp_build_dir_pathr   resolver_variantr   r   r   build_constraint_reqsenv_installers   &&&&&&&&&        r/   make_requirement_preparer,RequirementCommand.make_requirement_preparer   sa    -11"...99'B|+$(@(@@J" #OJg666Q
 $G-@"E'":":: 	)
 "W%=%==$:!7%! ?+"7#&w'8'89M @"31QM #)OO%#33&3$55' --"11'!+
 	
r1   c               D    V ^8  d   QhRRRRRRRRR	R
RR
RR
RR
RRRRRR/# )r)   preparerr   rX   r   r*   r   r   zWheelCache | Noner~   r,   ignore_installedignore_requires_pythonforce_reinstallupgrade_strategyrt   py_version_infoztuple[int, ...] | Noner+   r#   r-   )r.   s   "r/   r0   rj      sx     6
 6
%6
 6
 	6

 '6
 6
 6
 !%6
 6
 6
 06
 
6
r1   c                   \        \        VP                  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.
)r^   rw   N)r   rX   r   make_install_reqr~   ignore_dependenciesr   r   r   r   r   )r   r   r`   ry   ,pip._internal.resolution.resolvelib.resolver	_internal
resolutionrw   resolverResolverr   (pip._internal.resolution.legacy.resolverrv   )r   r   rX   r*   r   r~   r   r   r   r   r   r   r   pips   &&&&&&&&&&&   r/   make_resolver RequirementCommand.make_resolver   s    " #'**
 99'B |+?==++66??HH!'!1+$+$?$?!1'= /!1 / I   	8}}''..77@@#-' ' ; ;-#9+-+ A 
 	
r1   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r)   rL   rM   r*   r   rX   r   rY   r   r+   rZ   r-   )r.   s   "r/   r0   rj     sC     z zz z 	z
 z 
"zr1   c                   . p\        V4      '       g)   \        VP                  W2V4      pVP                  V4       V FQ  pVP	                  4       '       g   K  \        VRVP                  R\        VRR4      R7      pVP                  V4       KS  	  VP                  '       dF   \        VP                  4       F,  p\        VVP                  RR7      pVP                  V4       K.  	  VP                   F8  p\        VRVP                  \        VRR4      R7      pVP                  V4       K:  	  VP                   Fn  p	\        WW$R7       FZ  p
\!        T
VP                  RV
P"                  '       d   V
P"                  P%                  R4      MRR7      pVP                  V4       K\  	  Kp  	  VP&                  '       d   \)        VP&                  4      ^8  d   \+        R	4      hVP&                  ^ ,          p \-        V4      pTP%                  R
R4      pT'       d[   TP2                  '       gI   \5        T4      p\7        TTP8                  R7      '       g!   \;        RT: RTP<                   RT: 24      hTP%                  R. 4       F,  p\        TTP                  RR7      pTP                  T4       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   VP&                  '       g{   RV PB                  /pVPD                  '       d@   \+        RPF                  ! R/ \I        VRPK                  VPD                  4      R7      B 4      h\+        RPF                  ! R/ VB 4      hV#   \.         d   p\+        TP0                  4      hRp?ii ; i)zC
Parse command-line arguments into the corresponding requirements.
NTconfig_settings)
comes_fromr^   r_   r   r]   )r_   r^   r   )rX   r*   rY   )r^   r_   r   z1--requirements-from-script can only be given oncezrequires-python )requires_pythonversion_infozScript z requires a different Python: z not in dependenciesc              3  8   "   T F  qP                   x  K  	  R # 5irP   )has_hash_options).0reqs   & r/   	<genexpr>6RequirementCommand.get_requirements.<locals>.<genexpr>  s     <|##|s   F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-   )&r9   rf   constraintsextendstripr   r`   r   ra   rp   r    r   	editablesr   rb   r!   r   r*   r7   requirements_from_scriptslenr   r   r   msgr   r   r$   r   r   
py_versionanyr   r   
find_linksr.   dictjoin)rK   rL   r*   rX   rY   rb   r   r   re   rc   rd   scriptscript_metadataexcscript_requires_pythontarget_pythonoptss   &&&&&            r/   get_requirements#RequirementCommand.get_requirements  s    240990##VgK ,C99;;. .." '1BD IJ 
+  $$$.w/H/HI8$22"&

 ##J/ J $$C2" .. '1BD I	J 
+ %  ,,H0
 A$22"& &--- #**../@A!	
 ##J/ -  ,,,74459"#VWW66q9F,"1&"9 &5%8%89JB%O"%g.L.L.L 27 ;,$:!.!>!>  3!&+I(334H=S<VX 
 '**>2>8$22"&

 ##J/ ? 3<|<333<|<<<%)G"    ###(((000DII&D!!!">>DfE t388G4F4F+GH  #..4f5 =7;= 
 e # ,"377++,s   ;O	 	O.O))O.c                    V ^8  d   QhRRRR/# )r)   rX   r   r+   rB   r-   )r.   s   "r/   r0   rj     s     # # #4 #r1   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_locationsr   info)rX   r   	locationss   &  r/   trace_basic_info#RequirementCommand.trace_basic_info  s1     ** 88:	KK	" r1   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r)   r*   r   rY   r   r   zTargetPython | Noner   zbool | Noner+   r   r-   )r.   s   "r/   r0   rj     s<     
 

 
 +	

 !,
 

r1   c                    \         P                  ! W!R7      p\        RVP                  VP                  VP
                  VR7      p\        P                  ! VVVVP                  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.
r8   T)allow_yankedformat_controlrelease_controlprefer_binaryr   )link_collectorselection_prefsr   uploaded_prior_to)r   creater   r   r   r   r   r   )rK   r*   rY   r   r   r   r   s   &&&&&  r/   _build_package_finder(RequirementCommand._build_package_finder  sf     '--gG."11#33!//#9
 ##)+'%77	
 	
r1   r-   )N    )NFTFFzto-satisfy-onlyN)NN)__name__
__module____qualname____firstlineno__rm   staticmethodry   classmethodr   r   r   r   r   __static_attributes____classcell__)rq   s   @r/   r;   r;      sr    8 8   N
 N
` 6
 6
pzx # #
 
r1   )N__doc__
__future__r   loggingr5   	functoolsr   optparser   typingr   r   r   pip._internal.build_envr   r	   r
   pip._internal.cacher   pip._internal.clir   pip._internal.cli.cmdoptionsr   pip._internal.cli.index_commandr   r   pip._internal.exceptionsr   r   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.pep723r   r   &pip._internal.req.req_dependency_groupr    pip._internal.req.req_filer!   pip._internal.req.req_installr"   pip._internal.resolution.baser#   pip._internal.utils.packagingr$   pip._internal.utils.temp_dirr%   r&   r'   	getLoggerr   r   r9   	BUILD_ENVEPHEM_WHEEL_CACHE	REQ_BUILDrE   r:   rU   rf   r;   r-   r1   r/   <module>r     s    #  	   ) ) 
 + ( ; = V 
 8 < E ; 4 E @  F J 9 < 6 ?  
		8	$E ##  K';<	82{
* {
r1   