+
    JV-jê'  ã                  ó  € ^ RI Ht ^ RIt^ RIHtHt ^RIHt ^RIH	t	 . ROt
R R lt ! R R	]4      t ! R R]4      t ! R R
]4      t ! R R4      t ! R R4      tR R lt]P&                  ! R4      tR R ltR R ltR# )é    )ÚannotationsN)ÚMappingÚSequence)Ú_ErrorCollector)ÚRequirementÚCyclicDependencyGroupÚDependencyGroupIncludeÚDependencyGroupResolverÚDuplicateGroupNamesÚInvalidDependencyGroupObjectc               ó   € V ^8„  d   QhRR/# )é   Úreturnz	list[str]© )Úformats   "Úl/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/packaging/dependency_groups.pyÚ__annotate__r      s   € ÷ ñ �ñ ó    c                 ó   € \         # ©N)Ú__all__r   r   r   Ú__dir__r      s   € Ü€Nr   c                  ó   € ] tR t^tRtRtR# )r   zU
The same dependency groups were defined twice, with different non-normalized names.
r   N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   r   r   r   r      s   † õr   c                  ó2   a € ] tR t^"tRtR V 3R lltRtV ;t# )r   z-
The dependency group includes form a cycle.
c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Úrequested_groupÚstrÚgroupÚinclude_groupr   ÚNoner   )r   s   "r   r   Ú"CyclicDependencyGroup.__annotate__'   s)   € ÷ 
ñ 
¨ð 
°Cð 
Èð 
ÐPTñ 
r   c                	óˆ   <€ Wn         W n        W0n        W28X  d   V R 2pMV RV RV RV 2p\        SV `  RV RV 24       R# )z includes itselfz -> ú, z0Cyclic dependency group include while resolving z: N)r#   r%   r&   ÚsuperÚ__init__)Úselfr#   r%   r&   ÚreasonÚ	__class__s   &&&& €r   r,   ÚCyclicDependencyGroup.__init__'   sd   ø€ Ø.ÔØŒ
Ø*ÔàÔ!Ø�wÐ.Ð/‰Fà%� d¨5¨'°°E°7¸$¸}¸oÐNˆFÜ‰ÑØ>ØÐ˜r & ð+ö	
r   )r%   r&   r#   )r   r   r   r   r   r,   r    Ú__classcell__)r/   s   @r   r   r   "   s   ø† ñ÷
ö 
r   c                  ó   € ] tR t^9tRtRtR# )r   zY
A member of a dependency group was identified as a dict, but was not in a valid
format.
r   Nr   r   r   r   r   r   9   s   † õr   c                  ó2   € ] tR t^EtRtR R ltR R ltRtR# )r	   c               ó    € V ^8„  d   QhRRRR/# )r   r&   r$   r   r'   r   )r   s   "r   r   Ú#DependencyGroupInclude.__annotate__H   s   € ÷ +ñ + cð +¨dñ +r   c                ó   € Wn         R# )zp
Initialize a DependencyGroupInclude.

:param include_group: The name of the group referred to by this include.
N©r&   )r-   r&   s   &&r   r,   ÚDependencyGroupInclude.__init__H   s
   € ð +Ör   c               ó   € V ^8„  d   QhRR/# )r   r   r$   r   )r   s   "r   r   r5   P   s   € ÷ Dñ D˜#ñ Dr   c                	óP   € V P                   P                   R V P                  : R2# )Ú(Ú))r/   r   r&   )r-   s   &r   Ú__repr__ÚDependencyGroupInclude.__repr__P   s'   € Ø—.‘.×)Ñ)Ð*¨!¨D×,>Ñ,>Ñ+AÀÐCÐCr   r7   N)r   r   r   r   Ú	__slots__r,   r=   r    r   r   r   r	   r	   E   s   † Ø"€Iõ+÷Dñ Dr   c                  óV   € ] tR t^TtRtR R ltR R ltR R ltR R	 ltR
 R lt	Rt
R# )r
   a@  
A resolver for Dependency Group data.

This class handles caching, name normalization, cycle detection, and other
parsing requirements. There are only two public methods for exploring the data:
``lookup()`` and ``resolve()``.

:param dependency_groups: A mapping, as provided via pyproject
    ``[dependency-groups]``.
c               ó    € V ^8„  d   QhRRRR/# )r   Údependency_groupsú/Mapping[str, Sequence[str | Mapping[str, str]]]r   r'   r   )r   s   "r   r   Ú$DependencyGroupResolver.__annotate__`   s"   € ÷ @ñ @àJð@ð 
ñ@r   c                	ó†   € \        4       p\        W4      V n        / V n        / V n        / V n        VP                  R 4       R# )z$[dependency-groups] data was invalidN)r   Ú_normalize_group_namesrB   Ú_parsed_groupsÚ_include_graph_ancestorsÚ_resolve_cacheÚfinalize)r-   rB   Úerrorss   && r   r,   Ú DependencyGroupResolver.__init__`   sH   € ô !Ó"ˆä!7Ð8IÓ!RˆÔð
 ð 	Ôð EGˆÔ%àBDˆÔà�‰Ð>Ö?r   c               ó    € V ^8„  d   QhRRRR/# )r   r%   r$   r   ú0tuple[Requirement | DependencyGroupInclude, ...]r   )r   s   "r   r   rD   s   s   € ÷ 4ñ 4˜Cð 4Ð$Tñ 4r   c                óÄ   € \        V4      p\        4       P                  RV: R24      ;_uu_ 4       pV P                  W4      uuRRR4       #   + '       g   i     R# ; i)zš
Lookup a group name, returning the parsed dependency data for that group.
This will not resolve includes.

:param group: the name of the group to lookup
ú[dependency-groups] data for ú was malformedN)Ú_normalize_namer   Úon_exitÚ_parse_group©r-   r%   rK   s   && r   ÚlookupÚDependencyGroupResolver.lookups   sV   € ô   Ó&ˆäÓ×&Ñ&Ø+¨E©9°NÐC÷
ô 
àØ×$Ñ$ UÓ3÷
÷ 
÷ 
ó 
ús   ²AÁA	c               ó    € V ^8„  d   QhRRRR/# )r   r%   r$   r   útuple[Requirement, ...]r   )r   s   "r   r   rD   �   s   € ÷ 7ñ 7˜Sð 7Ð%<ñ 7r   c                óÆ   € \        V4      p\        4       P                  RV: R24      ;_uu_ 4       pV P                  WV4      uuRRR4       #   + '       g   i     R# ; i)zg
Resolve a dependency group to a list of requirements.

:param group: the name of the group to resolve
rP   rQ   N)rR   r   rS   Ú_resolverU   s   && r   ÚresolveÚDependencyGroupResolver.resolve�   sV   € ô   Ó&ˆäÓ×&Ñ&Ø+¨E©9°NÐC÷
ô 
àØ—=‘= ¨vÓ6÷
÷ 
÷ 
ó 
ús   ²AÁA 	c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   r%   r$   r#   rK   r   r   rY   r   )r   s   "r   r   rD   Ž   s,   € ÷ 8*ñ 8*Øð8*Ø+.ð8*Ø8Gð8*à	 ñ8*r   c                óî  € WP                   9   d   V P                   V,          # V P                  W4      p. pV Fû  p\        V\        4      '       d   VP	                  V4       K,  \        V\
        4      '       d®   \        VP                  4      pWpP                  P                  VR4      9   d(   VP                  \        W!VP                  4      4       Kž  . V P                  P                  VR4      OVN5V P                  V&   VP                  V P                  WrV4      4       Kï  \        RV 24      h	  VP                  '       d   R# \!        V4      V P                   V&   V P                   V,          # )a\  
This is a helper for cached resolution to strings. It preserves the name of the
group which the user initially requested in order to present a clearer error in
the event that a cycle is detected.

:param group: The normalized name of the group to resolve.
:param requested_group: The group which was used in the original, user-facing
    request.
z+Invalid dependency group item after parse: r   )rI   rT   Ú
isinstancer   Úappendr	   rR   r&   rH   ÚgetÚerrorr   Úextendr[   ÚNotImplementedErrorrK   Útuple)r-   r%   r#   rK   ÚparsedÚresolved_groupÚitemr&   s   &&&&    r   r[   Ú DependencyGroupResolver._resolveŽ   sY  € ð ×'Ñ'Ô'Ø×&Ñ& uÕ-Ð-à×"Ñ" 5Ó1ˆàˆãˆDÜ˜$¤×,Ò,Ø×%Ñ% dÖ+Ü˜DÔ"8×9Ò9Ü /°×0BÑ0BÓ C�ð !×$AÑ$A×$EÑ$EÀeÈRÓ$PÔPØ—L‘LÜ-Ø+°D×4FÑ4FóöðDØ×6Ñ6×:Ñ:¸5À"ÓEðDàñD�D×1Ñ1°-Ñ@ð #×)Ñ)ØŸ™ mÀfÓMöô *ØAÀ$ÀÐHóð ñ5 ðB �=�=ˆ=ØˆIä%*¨>Ó%:ˆ×Ñ˜EÑ"Ø×"Ñ" 5Õ)Ð)r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r%   r$   rK   r   r   rN   r   )r   s   "r   r   rD   È   s$   € ÷ /*ñ /*Øð/*Ø"1ð/*à	9ñ/*r   c                	óª  € WP                   9   d   V P                   V,          # WP                  9  d!   VP                  \        R V R24      4       R# V P                  V,          p\	        V\
        4      '       d"   VP                  \        RV: R24      4       R# \	        V\        4      '       g"   VP                  \        RV: R24      4       R# . pV FÍ  p\	        V\
        4      '       d   VP                  \        V4      4       K5  \	        V\        4      '       de   \        VP                  4       4      R	8w  d!   VP                  \        RV: 24      4       K‰  VR,          pVP                  \        VR7      4       K¯  VP                  \        RV: 24      4       KÏ  	  \        V4      V P                   V&   V P                   V,          # )
zDependency group 'z' not foundzDependency group z' contained a string rather than a list.z is not a sequence type.úinclude-groupzInvalid dependency group item: r7   r   )rm   )rG   rB   rc   ÚLookupErrorr`   r$   Ú	TypeErrorr   ra   r   r   rf   Úkeysr   r	   )r-   r%   rK   Ú	raw_groupÚelementsri   r&   s   &&&    r   rT   Ú$DependencyGroupResolver._parse_groupÈ   s‘  € ð ×'Ñ'Ô'Ø×&Ñ& uÕ-Ð-à×.Ñ.Ô.Ø�L‰LœÐ'9¸%¸ÀÐ%LÓMÔNØˆIà×*Ñ*¨5Õ1ˆ	Ü�i¤×%Ò%Ø�L‰LÜØ'¨¡yÐ0WÐXóôð
 ˆIä˜)¤X×.Ò.Ø�L‰LÜÐ-¨e©YÐ6NÐOÓPôð ˆIà?AˆÛˆDÜ˜$¤×$Ò$ð —‘¤¨DÓ 1Ö2Ü˜D¤'×*Ò*Ü˜Ÿ™›Ó%Ð);Ô;Ø—L‘LÜ4Ø=¸d¹XÐFóöð %)¨Õ$9�MØ—O‘OÔ$:ÈÔ$WÖXà—‘œYÐ)HÈÉÐ'QÓRÖSñ# ô& &+¨8£_ˆ×Ñ˜EÑ"Ø×"Ñ" 5Õ)Ð)r   )rH   rG   rI   rB   N)r   r   r   r   r   r,   rV   r\   r[   rT   r    r   r   r   r
   r
   T   s'   † ñ	õ@õ&4õ7õ8*÷t/*ñ /*r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   rB   rC   Úgroupsr$   r   ztuple[str, ...]r   )r   s   "r   r   r   ÿ   s)   € ÷ Nñ NØFðNØTWðNàñNr   c               ó~   a€ \        V 4      o\        ;QJ d    . V3R lV 4       F  NK  	  5# ! V3R lV 4       4      # )zç
Resolve a dependency group to a tuple of requirements, as strings.

:param dependency_groups: the parsed contents of the ``[dependency-groups]`` table
    from ``pyproject.toml``
:param groups: the name of the group(s) to resolve
c              3  ój   <"  € T F(  pSP                  V4       F  p\        V4      x € K  	  K*  	  R # 5ir   )r\   r$   )Ú.0r%   ÚrÚresolvers   &  €r   Ú	<genexpr>Ú,resolve_dependency_groups.<locals>.<genexpr>
  s+   øé € ÐM¡V˜E°X×5EÑ5EÀeÖ5L°”�Q—�Ñ5L‘£Vùs   ƒ03)r
   rf   )rB   ru   rz   s   "*@r   Úresolve_dependency_groupsr}   ÿ   s2   ø€ ô 'Ð'8Ó9€HßŒ5ÔM¡VÓM�5ÐMˆ5ÔM¡VÓMÓMÐMr   z[-_.]+c               ó    € V ^8„  d   QhRRRR/# )r   Únamer$   r   r   )r   s   "r   r   r     s   € ÷ 5ñ 5˜#ð 5 #ñ 5r   c                óJ   € \         P                  R V 4      P                  4       # )Ú-)Ú_NORMALIZE_PATTERNÚsubÚlower)r   s   &r   rR   rR     s   € Ü×!Ñ! # tÓ,×2Ñ2Ó4Ð4r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   rB   rC   rK   r   r   z,dict[str, Sequence[str | Mapping[str, str]]]r   )r   s   "r   r   r     s&   € ÷ ñ ØFðàðð 2ñr   c                óV  € / p/ pV P                  4        F5  w  rE\        V4      pVP                  V. 4      P                  V4       WSV&   K7  	  VP                  4        FG  w  rx\	        V4      ^8”  g   K  VP                  \        RV RRP                  V4       R24      4       KI  	  V# )é   z"Duplicate dependency group names: z (r*   r<   )ÚitemsrR   Ú
setdefaultra   Úlenrc   r   Újoin)	rB   rK   Úoriginal_namesÚnormalized_groupsÚ
group_nameÚvalueÚnormed_group_nameÚnormed_nameÚnamess	   &&       r   rF   rF     s³   € ð ,.€NØFHÐà.×4Ñ4Ö6Ñˆ
Ü+¨JÓ7ÐØ×!Ñ!Ð"3°RÓ8×?Ñ?À
ÔKØ/4Ð+Ó,ñ 7ð
 -×2Ñ2Ö4ÑˆÜˆu‹:˜Ž>Ø�L‰LÜ#Ø8Ø"�m 2 d§i¡i°Ó&6Ð%7°qð:óöñ 5ð Ðr   )r   r	   r
   r   r   r}   )Ú
__future__r   ÚreÚcollections.abcr   r   rK   r   Úrequirementsr   r   r   Ú
ValueErrorr   r   r   r	   r
   r}   Úcompiler‚   rR   rF   r   r   r   Ú<module>r™      s~   ðÝ "ã 	ß -å #Ý %ò€õô˜*ô ô
˜Jô 
ô. :ô ÷Dñ D÷c*ñ c*õVNð& —Z’Z 	Ó*Ð õ5÷r   