hyb
2026-01-30 15bc7727b58bf9ca0c8f21702fa893daac232b8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Ë
ñúhiãóÀ—ddlmZddlZddlZddlmZddlmZdd„Z                dd„Z    ejGd„d««Z Gd    „d
e «Z Gd „d «Z                        dd „Zy)é)Ú annotationsN)ÚMapping)Ú RequirementcóL—tjdd|«j«S)Nz[-_.]+ú-)ÚreÚsubÚlower)Únames ú`H:\Change_password\venv_build\Lib\site-packages\pip/_vendor/dependency_groups/_implementation.pyÚ_normalize_namer
s€Ü 6‰6)˜S $Ó '× -Ñ -Ó /Ð/ócó|—i}i}|j«D]6\}}t|«}|j|g«j|«|||<Œ8g}|j«D]:\}}t    |«dkDsŒ|j|›ddj |«›d«Œ<|rt ddj |«›«‚|S)Néz (ú, ú)z"Duplicate dependency group names: )Úitemsr Ú
setdefaultÚappendÚlenÚjoinÚ
ValueError)    Údependency_groupsÚoriginal_namesÚnormalized_groupsÚ
group_nameÚvalueÚnormed_group_nameÚerrorsÚ normed_nameÚnamess             r Ú_normalize_group_namesr"sۀð,.€NØÐà.×4Ñ4Ó6ò5ш
EÜ+¨JÓ7ÐØ×!Ñ!Ð"3°RÓ8×?Ñ?À
ÔKØ/4ÐÐ+Ò,ð5ð
€FØ,×2Ñ2Ó4òAш UÜ ˆu‹:˜‹>Ø M‰M˜[˜M¨¨D¯I©I°eÓ,<Ð+=¸QÐ?Õ @ðAñÜÐ=¸d¿i¹iÈÓ>OÐ=PÐQÓRÐRà Ðrcó—eZdZUded<y)ÚDependencyGroupIncludeÚstrÚ include_groupN)Ú__name__Ú
__module__Ú __qualname__Ú__annotations__©rr r$r$#s…àÔrr$có$‡—eZdZdZdˆfd„ ZˆxZS)ÚCyclicDependencyErrorz9
    An error representing the detection of a cycle.
    cóŠ•—||_||_||_||k(r|›d}n |›d|›d|›d|›}t‰|d|›d|›«y)Nz includes itselfz -> rz0Cyclic dependency group include while resolving z: )Úrequested_groupÚgroupr&ÚsuperÚ__init__)Úselfr/r0r&ÚreasonÚ    __class__s     €r r2zCyclicDependencyError.__init__-slø€Ø.ˆÔ؈Œ
Ø*ˆÔà ˜EÒ !ؐwÐ.Ð/‰Fà% d¨5¨'°°E°7¸$¸}¸oÐNˆFÜ ‰ÑØ >ØÐ˜r & ð +õ    
r)r/r%r0r%r&r%ÚreturnÚNone)r'r(r)Ú__doc__r2Ú __classcell__)r5s@r r-r-(sø„ñ÷ 
ñ 
rr-cóH—eZdZdZ                dd„Zd    d„Zd
d„Z                d    d„Zd d„Zy) ÚDependencyGroupResolvera\
    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ó„—t|t«s td«‚t|«|_i|_i|_i|_y)Nz(Dependency Groups table is not a mapping)Ú
isinstancerÚ    TypeErrorr"rÚ_parsed_groupsÚ_include_graph_ancestorsÚ_resolve_cache)r3rs  r r2z DependencyGroupResolver.__init__HsJ€ôÐ+¬WÔ5ÜÐFÓGÐ GÜ!7Ð8IÓ!JˆÔð ð     ÔðEGˆÔ%àBDˆÕrcóp—t|t«s td«‚t|«}|j    |«S)aä
        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
 
        :raises ValueError: if the data does not appear to be valid dependency group
            data
        :raises TypeError: if the data is not a string
        :raises LookupError: if group name is absent
        :raises packaging.requirements.InvalidRequirement: if a specifier is not valid
        ú"Dependency group name is not a str)r=r%r>r Ú _parse_group©r3r0s  r ÚlookupzDependencyGroupResolver.lookupXs5€ô˜%¤Ô%ÜÐ@ÓAÐ AÜ Ó&ˆØ× Ñ  Ó'Ð'rcór—t|t«s td«‚t|«}|j    ||«S)a¸
        Resolve a dependency group to a list of requirements.
 
        :param group: the name of the group to resolve
 
        :raises TypeError: if the inputs appear to be the wrong types
        :raises ValueError: if the data does not appear to be valid dependency group
            data
        :raises LookupError: if group name is absent
        :raises packaging.requirements.InvalidRequirement: if a specifier is not valid
        rC)r=r%r>r Ú_resolverEs  r ÚresolvezDependencyGroupResolver.resolvejs5€ô˜%¤Ô%ÜÐ@ÓAÐ AÜ Ó&ˆØ}‰}˜U EÓ*Ð*rcó’—||jvr|j|S||jvrtd|›d«‚|j|}t|t«st d|›d«‚g}|D]²}t|t «r|jt|««Œ.t|t«rht|j««dk7rtd|›«‚tt|j«««}|jt!|¬««Œ¦td|›«‚t|«|j|<|j|S)NzDependency group 'z ' not foundz' is not a list)z include-groupzInvalid dependency group item: )r&)r?rÚ LookupErrorr=Úlistr>r%rrÚdictÚtupleÚkeysrÚnextÚiterÚvaluesr$)r3r0Ú    raw_groupÚelementsÚitemr&s      r rDz$DependencyGroupResolver._parse_group{s:€ð D×'Ñ'Ñ 'Ø×&Ñ& uÑ-Ð -à ˜×.Ñ.Ñ .ÜР2°5°'¸ÐEÓFÐ Fà×*Ñ*¨5Ñ1ˆ    Ü˜)¤TÔ*ÜÐ0°°°ÐGÓHÐ Hà?AˆØò     KˆDܘ$¤Ô$𗑤 ¨DÓ 1Õ2ܘD¤$Ô'ܘŸ™›Ó%Ð);Ò;Ü$Ð'FÀtÀfÐ%MÓNÐNä $¤T¨$¯+©+«-Ó%8Ó 9 Ø—‘Ô 6À]Ô SÕTä Ð#BÀ4À&Ð!IÓJÐJð     Kô&+¨8£_ˆ×јEÑ"Ø×"Ñ" 5Ñ)Ð)rcóp—||jvr|j|S|j|«}g}|D]Û}t|t«r|j    |«Œ%t|t
«ršt |j«}||jj|d«vrt|||j«‚g|jj|d«¢|‘­|j|<|j|j||««ŒÏtd|›«‚t|«|j|<|j|S)zè
        This is a helper for cached resolution to strings.
 
        :param group: The name of the group to resolve.
        :param requested_group: The group which was used in the original, user-facing
            request.
        r+z+Invalid dependency group item after parse: )rArDr=rrr$r r&r@Úgetr-ÚextendrHÚNotImplementedErrorrN)r3r0r/ÚparsedÚresolved_grouprUr&s       r rHz DependencyGroupResolver._resolveœsA€ð D×'Ñ'Ñ 'Ø×&Ñ& uÑ-Ð -à×"Ñ" 5Ó)ˆàˆØò    ˆDܘ$¤ Ô,Ø×%Ñ% dÕ+ܘDÔ"8Ô9Ü /°×0BÑ0BÓ C Ø  D×$AÑ$A×$EÑ$EÀeÈRÓ$PÑPÜ/Ø'¨°×0BÑ0Bóðð@Ø×2Ñ2×6Ñ6°u¸bÓAð@àñ@×-Ñ-¨mÑ<ð×%Ñ% d§m¡m°MÀ?Ó&SÕTä)ØAÀ$ÀÐHóðð    ô&&+¨>Ó%:ˆ×јEÑ"Ø×"Ñ" 5Ñ)Ð)rN)rú%Mapping[str, str | Mapping[str, str]]r6r7)r0r%r6z0tuple[Requirement | DependencyGroupInclude, ...])r0r%r6útuple[Requirement, ...])r0r%r/r%r6r])    r'r(r)r8r2rFrIrDrHr+rr r;r;<sF„ñ    ðEà@ðEð
óEó (ó$+ð"*Øð*à    9ó*ôB"*rr;cóB‡—t|«Štˆfd„|D««S)a
    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
 
    :raises TypeError: if the inputs appear to be the wrong types
    :raises ValueError: if the data does not appear to be valid dependency group data
    :raises LookupError: if group name is absent
    :raises packaging.requirements.InvalidRequirement: if a specifier is not valid
    c3ó`•K—|]%}‰j|«D]}t|«–—ŒŒ'y­w)N)rIr%)Ú.0r0ÚrÚresolvers   €r ú    <genexpr>zresolve.<locals>.<genexpr>Ñs,øèø€ÒM˜E°X×5EÑ5EÀeÓ5LÒM°”Q—ÐMÑMùsƒ+.)r;rN)rÚgroupsrbs  @r rIrIÁs!ø€ô'Ð'8Ó9€HÜ ÓM VÔMÓ MÐMr)r r%r6r%)rr\r6r\)rr\rdr%r6ztuple[str, ...])Ú
__future__rÚ dataclassesrÚcollections.abcrÚ"pip._vendor.packaging.requirementsrr r"Ú    dataclassr$rr-r;rIr+rr ú<module>rjs‡ðÝ"ãÛ    Ý#å:ó0ðØ<ðà*óð* ×Ñ÷ðóðô
˜Jô
÷(B*ñB*ðJNØ<ðNØJMðNàôNr