
    @(it                    h    S r SSKJr  SSKJr  \(       a  SSKJr  SSKJr  SSK	J
r
   " S S\
5      rg	)
z
This exception is only used in conda-build, so we can't import it directly.
conda_build is not a dependency, but we only import this when conda-build is calling the
solver, so it's fine to import it here.
    )annotations)TYPE_CHECKING)Iterable)	MatchSpec)DependencyNeedsBuildingErrorc                  H   ^  \ rS rSrSr  S   SU 4S jjjrSS jrSrU =r$ )	%ExplainedDependencyNeedsBuildingError   z
We need to subclass this to add the explanation to the error message.
We also add a couple of attributes to make it easier to set up.
c                x   > [         TU ]  " U0 UD6  U R                  =(       d    U=(       d    / U l        X l        g )N)super__init__
matchspecsexplanation)selfr   r   argskwargs	__class__s        Llib/python3.13/site-packages/conda_libmamba_solver/conda_build_exceptions.pyr   .ExplainedDependencyNeedsBuildingError.__init__   s2     	$)&)//=Z=2&    c                x    U R                   nU R                  (       d  U$ SR                  XR                  /5      $ )N
)messager   join)r   msgs     r   __str__-ExplainedDependencyNeedsBuildingError.__str__)   s1    llJyy#//011r   )r   r   )NN)r   zIterable[MatchSpec] | Noner   z
str | None)returnstr)	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classcell__)r   s   @r   r	   r	      s6     26"&	'.	'  	' 	'2 2r   r	   N)r$   
__future__r   typingr   collections.abcr   conda.models.match_specr   conda_build.exceptionsr   r	    r   r   <module>r-      s+    #  (1 ?2,H 2r   