+
    kGj8                         R t ^ RIt^ RI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 R]4      tR	 R
 ltRR R lltR# )zd
Check dependencies in a prefix, either by using Conda's functionality or
Python's in a subprocess.
N)Path)Iterable)main_subshell)paths)requires_to_condac                   6   a  ] tR t^t o RtV 3R lR ltRtV tR# )MissingDependencyErrorz+
When the dependency subprocess can't run.
c                0   < V ^8  d   QhRS[ S[,          /# )   dependencies)liststr)format__classdict__s   "<lib/python3.14/site-packages/conda_pypi/dependencies/pypi.py__annotate__#MissingDependencyError.__annotate__   s     ) )T#Y )    c                    Wn         R # )Nr   )selfr   s   &&r   __init__MissingDependencyError.__init__   s    (r   r   N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell__)r   s   @r   r   r      s     ) )r   r   c                F    V ^8  d   QhR\         \        ,          R\        /# )r
   requirementsprefix)r   r   r   )r   s   "r   r   r      s     " "Xc] "D "r   c                    \        \        P                  ! V4      4      p\        P                  P                  R 4      P                  R4      P                  4       p \        P                  ! VRRR\        P                  ! \        V 4      4      .RVRRR7      p\        P                  ! VP                  4      p. pV Ff  p\        V\         4      '       d   VP!                  V4       K,  \        V\"        4      '       g   KD  V'       g   KN  VP!                  VR,          4       Kh  	  V#   \        P$                   d%   pRTP&                  9   d   \)        R	.4      Thh R
p?ii ; i)
conda_pypizdependencies_subprocess.pyz-I-z-rzutf-8T)encodinginputcapture_outputcheckModuleNotFoundbuildN)r   r   get_python_executable	importlib	resourcesfilesjoinpath	read_text
subprocessrunjsondumpssortedloadsstdout
isinstanceappendr   CalledProcessErrorstderrr   )	r!   r"   python_executabledependency_getterresultmissing_rawmissingrequirementes	   &&       r   check_dependenciesrE      s#   E77?@!!,/889UV``b !

6,/0 #
 jj/&K+s++{+K..;;{2/	 ' N (( (('3:s%   B D* D* D* *E#?EE#c                R    V ^8  d   QhR\         \        ,          R\        R\        /# )r
   r!   r"   yes)r   r   r   bool)r   s   "r   r   r   @   s%        d3i    D  r   c                     V '       dQ   \        V 4      w  r4R R\        V4      .pV'       d   VP                  R4       VP                  V4       \	        V!   R# R# )installz--prefixz--yesN)r   r   r;   extendr   )r!   r"   rG   conda_requirements_commands   &&&   r   ensure_requirementsrO   @   sL     1, ?j#f+6NN7#)*w r   )T)r   importlib.resourcesr.   r5   r3   pathlibr   typingr   conda.cli.mainr   r$   r   conda_pypi.translater   	Exceptionr   rE   rO    r   r   <module>rW      s@   
      (  2)Y )"J   r   