+
    Ž°³jÊ  ã                   óð   € R t ^ RIt^ RIt^ RIHt ^ RIHtHtHtH	t	 ^RI
Ht ]	! R]R7      t ! R R]4      t ! R	 R
]4      t ! R R]4      t ! R R]4      tR R ltR R ltR R ltR R lt]]]3tR# )z«The purpose of this module is implement PEP 621 validations that are
difficult to express as a JSON Schema (or that are not supported by the current
JSON Schema library).
N)Úcleandoc)Ú	GeneratorÚIterableÚMappingÚTypeVar)ÚValidationErrorÚT)Úboundc                   ó"   € ] tR t^tRt]tRtRtR# )ÚRedefiningStaticFieldAsDynamicz˜According to PEP 621:

    Build back-ends MUST raise an error if the metadata specifies a field
    statically as well as being listed in dynamic.
    zMhttps://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú_DESCÚ__doc__Ú_URLÚ__static_attributes__r   ó    Úx/home/luca/screen-checking/.venv/lib/python3.14/site-packages/setuptools/config/_validate_pyproject/extra_validations.pyr   r      s   † ð€Eð
 €GàWô 	r   r   c                   ó"   € ] tR t^tRt]tRtRtR# )Ú IncludedDependencyGroupMustExistzDAn included dependency group must exist and must not be cyclic.
    z!https://peps.python.org/pep-0735/r   Nr   r   r   r   r   r      s   † ð€Eà€GØ.„Dr   r   c                   ó"   € ] tR t^#tRt]tRtRtR# )ÚImportNameCollisionz\According to PEP 794:

    All import-names and import-namespaces items must be unique.
    ú!https://peps.python.org/pep-0794/r   Nr   r   r   r   r   r   #   ó   † ð€Eð €GØ.„Dr   r   c                   ó"   € ] tR t^,tRt]tRtRtR# )ÚImportNameMissingzLAccording to PEP 794:

    An import name must have all parents listed.
    r   r   Nr   r   r   r   r   r   ,   r   r   r   c                ó0   € V ^8„  d   QhR\         R\         /# ©é   Ú	pyprojectÚreturn©r   )Úformats   "r   Ú__annotate__r'   5   s   € ÷ ñ ¬ð ¬añ r   c           
      ó  € V P                  R / 4      pVP                  R. 4      pV FU  pW19   g   K  \        RV R2W1V,          RRRV/RV 2R\        \        P                  4      R\        P                  /R	R
7      h	  V # )ÚprojectÚdynamicz(You cannot provide a value for `project.z6` and list it under `project.dynamic` at the same timez...z # ...zdata.project.ÚdescriptionÚseezPEP 621©ÚmessageÚvalueÚnameÚ
definitionÚrule)Úgetr   r   r   r   )r#   Úproject_tabler*   Úfields   &   r   Úvalidate_project_dynamicr6   5   s©   € Ø—M‘M )¨RÓ0€MØ×Ñ 	¨2Ó.€GãˆØÖ!Ü0ØBÀ5À'ð JCð Cð ¨Õ/Ø˜8Ø˜wðð
 % U GÐ,à!¤8Ô,J×,PÑ,PÓ#QØÔ9×>Ñ>ðð ôð ñ ð$ Ðr   c                ó0   € V ^8„  d   QhR\         R\         /# r!   r%   )r&   s   "r   r'   r'   N   s   € ÷ ñ ¬!ð ´ñ r   c                 ó`  € V P                  R / 4      pVP                  4        F‡  w  r#V F|  p\        V\        4      '       g   K  VP                  R4      ;p'       g   K6  WQ9  g   K>  \	        RV R2VRV 2R\        \        P                  4      R\        P                  /RR7      h	  K‰  	  V # )	zdependency-groupszinclude-groupzThe included dependency group z doesn't existzdata.dependency_groups.r+   r,   zPEP 735r-   )r3   ÚitemsÚ
isinstanceÚdictr   r   r   r   )r#   Údependency_groupsÚkeyr/   ÚeachÚinclude_groups   &     r   Úvalidate_include_depenencyr@   N   s²   € Ø!Ÿ™Ð&9¸2Ó>ÐØ'×-Ñ-Ö/‰
ˆÛˆDä˜4¤×&Ô&Ø&*§h¡h¨Ó&?Ð?�]×?Ð?Ø!Ö:ä6Ø<¸]¸OÈ>ÐZØØ2°3°%Ð8à%¤xÔ0P×0VÑ0VÓ'WØÔ?×DÑDð ð #ô	ð 	ó ñ 0ð$ Ðr   c                ób   € V ^8„  d   QhR\         \        ,          R\        \        RR3,          /# )r"   r9   r$   N)r   Ústrr   )r&   s   "r   r'   r'   e   s)   € ÷ .ñ .œ8¤C�=ð .¬Y´s¸DÀ$°Õ-Gñ .r   c              #   óp   "  € V  F+  pVP                  R 4      ^ ,          P                  4       x € K-  	  R# 5i)Ú;N)Ú	partitionÚrstrip)r9   Úitems   & r   Ú_remove_privaterH   e   s,   é € ÛˆØ�n‰n˜SÓ! !Õ$×+Ñ+Ó-Ô-ó ùs   ‚46c                ó0   € V ^8„  d   QhR\         R\         /# r!   r%   )r&   s   "r   r'   r'   j   s   € ÷ &ñ &¬1ð &´ñ &r   c                 óì  € V P                  R / 4      p\        P                  ! \        VP                  R. 4      4      4      p\        P                  ! \        VP                  R. 4      4      4      pW#,           P	                  4        UUu. uF  w  rEV^8”  g   K  VNK  	  pppV'       d:   \        RVRR\        \
        P                  4      R\
        P                  /RR7      h\        W#,           4      pV Fs  p\        P                  ! VP                  R	4      R
R R 4       FB  p	W—9  g   K  \        RVRR\        \        P                  4      R\        P                  /RR7      h	  Ku  	  V # u uppi )r)   zimport-nameszimport-namespaceszBDuplicated names are not allowed in import-names/import-namespaceszdata.project.importnames(paces)r+   r,   zPEP 794r-   Ú.Nc                 ó   € V  R V 2# )rK   r   )ÚaÚbs   &&r   Ú<lambda>Ú-validate_import_name_issues.<locals>.<lambda>‚   s   € °!°°A°a°S©zr   zRAll parents of an import name must also be listed in import-namespace/import-nameséÿÿÿÿ)r3   ÚcollectionsÚCounterrH   r9   r   r   r   r   Ú	frozensetÚ	itertoolsÚ
accumulateÚsplitr   )
r#   r)   Úimport_namesÚimport_namespacesÚkÚvÚ
duplicatedÚnamesr0   Úparents
   &         r   Úvalidate_import_name_issuesr_   j   s]  € Ø�m‰m˜I rÓ*€GÜ×&Ò&¤°w·{±{À>ÐSUÓ7VÓ'WÓX€LÜ#×+Ò+Ü˜Ÿ™Ð$7¸Ó<Ó=óÐð ".Õ!A× HÑ HÔ JÔTÑ J™˜ÈaÐRSÉe—!�!Ñ J€JÑTçÜ!ØXØØ2àœxÔ(;×(AÑ(AÓBØÔ*×/Ñ/ðð ô	
ð 		
ô �lÕ6Ó7€EÛˆÜ×*Ò*Ø�J‰J�s‹O˜C˜RÐ Ñ"9ö
ˆFð Ö"Ü'ØpØØ:à%¤xÔ0A×0GÑ0GÓ'HØÔ0×5Ñ5ð ð #ô	ð 	ó	
ñ ð  Ðùó? Us   Â
E0ÂE0)r   rR   rU   Úinspectr   Útypingr   r   r   r   Úerror_reportingr   r   r   r   r   r   r6   r@   rH   r_   ÚEXTRA_VALIDATIONSr   r   r   Ú<module>rd      s‚   ðñó
 Û Ý ß 8Ó 8å ,áˆC�wÔ€ô	 _ô 	ô/ ô /ô/˜/ô /ô/˜ô /õõ2õ..õ
&ðT ØØðÒ r   