
    si                        % S r SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SS	KJr  SS
KJr  \(       a  SSKJr  SSKJr  SrS\S'    SS jr\S 5       rg)zBuilt-in conda explicit environment exporter plugin.

This module implements the explicit format defined in CEP 23:
Files with @EXPLICIT marker and package URLs for reproducible installs.
    )annotations)TYPE_CHECKING   )__version__)join_url)CondaValueError   )hookimpl)CondaEnvironmentExporter)Final)Environmentexplicitr   EXPLICIT_FORMATc                   S/nUR                  S5        UR                  SU R                   35        UR                  S[         35        U R                  (       d  [	        S5      eU R
                  (       a  [	        S5      eU R                  (       a|  U R                   Vs1 s H  o"R                  iM     nnU R                   Vs1 s H  o"R                  iM     nnXC-
  nU(       a'  [	        SSR                  [        U5      5       S	35      eUR                  S
5        U R                   H  n[        USS5      nU(       d\  [        USS5      =n(       aH  [        USS5      =n(       a4  [        USS5      =n	(       a   [        USS5      =n
(       a  [        XU
5      nU(       a  UR                  U5        M  [	        SUR                   S35      e   SR                  U5      $ s  snf s  snf )zQExport Environment to explicit format with @EXPLICIT and URLs (CEP 23 compliant).z7# This file may be used to create an environment using:z0# $ conda create --name <env> --file <this file>z# platform: z# created-by: conda zCannot export explicit format: no explicit packages with installation metadata found. Use 'requirements' format for environments with only requested packages, or ensure the environment has been solved and installed.zCannot export explicit format: environment contains external packages that cannot be represented in explicit format. Use a different format to include external packages.zSCannot export explicit format: some requested packages lack installation metadata: z, zJ. Use 'requirements' format or ensure all packages are properly installed.z	@EXPLICITurlNchannelbase_urlsubdirfnzCannot export 'z(': explicit format requires package URLs
)appendplatformr   explicit_packagesr   external_packagesrequested_packagesnamejoinsortedgetattrr   )envlinespkgexplicit_namesrequested_namesmissing_explicitr   r   r   r   r   s              Llib/python3.13/site-packages/conda/plugins/environment_exporters/explicit.pyexport_explicitr'      s   FGE	LLCD	LL<~./	LL'}56   G
 	
 
		C
 	

 
		.1.C.CD.Cs((.CD/2/E/EF/E88/EF*;!e99V$4567 8[[  
LL$$c5$'#CD999$Wj$???"3$777sD$///8R0CLL!!#((+ST  %& 99UA EFs   "G&G+c               #  8   #    [        [        S[        SS9v   g7f)z0Environment exporter plugin for explicit format. )zexplicit.txt)r   aliasesexportdefault_filenamesN)r   r   r'   r)       r&   conda_environment_exportersr.   V   s       #+	 s   N)r    r   returnstr)__doc__
__future__r   typingr    r   
common.urlr   
exceptionsr   hookspecr
   typesr   r   models.environmentr   r   __annotations__r'   r.   r)   r-   r&   <module>r;      sS    #    " )  ,1 $ # &6r 
 
r-   