hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
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
Ë
ñúh£.ãóÚ—dZddlmZddlZddlZddlZddlZddlZddlZddl    Z    ddl
m Z ddl    m Z ddl mZddlmZmZmZmZddlmZej,e«ZeezZ    ddlZeez Z    ddlZeez Zdd „Zdd „Zdd „Z dd„Z!dd„Z"dd„Z#dd„Z$ddd„Z%dd„Z&                                        dd„Z'    d                             d!d„Z(y#e$rej9d    «YŒcwxYw#e$rej9d
«YŒuwxYw)"zUtilities related archives.é)Ú annotationsN)ÚIterable)ÚZipInfo)ÚInstallationError)ÚBZ2_EXTENSIONSÚTAR_EXTENSIONSÚ XZ_EXTENSIONSÚZIP_EXTENSIONS)Ú
ensure_dirzbz2 module is not availablezlzma module is not availablecóZ—tjd«}tj|«|S)zBGet the current umask which involves having to set it temporarily.r)ÚosÚumask)Úmasks úPH:\Change_password\venv_build\Lib\site-packages\pip/_internal/utils/unpacking.pyÚ current_umaskr-s€ä 8‰8A‹;€D܇HHˆT„NØ €Kócóø—|jd«jd«}d|vr=d|vr#|jd«|jd«ksd|vr|jdd«Sd|vr|jdd«S|dgS)Nú/ú\éÚ)ÚlstripÚfindÚsplit©Úpaths rÚsplit_leading_dirr4sz€Ø ;‰;sÓ × "Ñ " 4Ó (€DØ
ˆd{Ø     ‰˜$Ÿ)™) C›.¨4¯9©9°T«?Ò:¸tÈ4Ñ?Oàz‰z˜#˜qÓ!Ð!Ø     ‰Øz‰z˜$ Ó"Ð"àbˆzÐrcóR—d}|D] }t|«\}}|sy|€|}Œ||k7sŒ yy)zyReturns true if all the paths have the same leading path name
    (i.e., everything is in one subdirectory in an archive)NFT)r)ÚpathsÚ common_prefixrÚprefixÚrests     rÚhas_leading_dirr#@sG€ð€MØòˆÜ(¨Ó.‰ ˆÙÙØ Ð "Ø"‰MØ }Ó $Ùðð rcóʗtjj|«}tjj|«}tjj||g«}||k(S)zL
    Return true if the absolute path of target is within the directory
    )r rÚabspathÚ commonprefix)Ú    directoryÚtargetÚ abs_directoryÚ
abs_targetr!s     rÚis_within_directoryr+OsL€ô—G‘G—O‘O IÓ.€MÜ—‘—‘ Ó(€Jä W‰W× !Ñ ! =°*Ð"=Ó >€FØ ]Ñ "Ð"rcó$—dt«zdzS)NiÿéI)r©rrÚ!_get_default_mode_plus_executabler/Zs€Ø ”M“OÐ#Ñ # eÑ +Ð+rcó@—tj|t««y)zx
    Make file present at path have execute for user/group/world
    (chmod +x) is no-op on windows per python docs
    N)r Úchmodr/rs rÚ2set_extracted_file_to_default_mode_plus_executabler2^s€ô
‡HHˆTÔ4Ó6Õ7rcór—|jdz    }t|xrtj|«xr|dz«S)Nér-)Ú external_attrÚboolÚstatÚS_ISREG)ÚinfoÚmodes  rÚzip_item_is_executabler;fs6€Ø × Ñ  Ñ #€Dô Ò<œŸ™ dÓ+Ò<°°u± Ó =Ð=rcó®—t|«t|d«}    tj|d¬«}t    |j ««xr|}|j «D]}|j}|}|rt|«d}tjj||«}tjj|«}    t||«sd}
t|
j|||««‚|j!d«r t|«Œ¨t|    «|j|«}     t|d«5} t#j$| | «ddd«| j'«t)|«sŒ t+|«Œ    |j'«y#1swYŒFxYw#| j'«t)|«r t+|«wwxYw#|j'«wxYw)    aŸ
    Unzip the file (with path `filename`) to the destination `location`.  All
    files are written based on system defaults and umask (i.e. permissions are
    not preserved), except that regular file members with any execute
    permissions (user, group, or world) have "chmod +x" applied after being
    written. Note that for windows, any execute changes using os.chmod are
    no-ops per the python docs.
    ÚrbT)Ú
allowZip64rzQThe zip file ({}) has a file ({}) trying to install outside target directory ({}))rrÚwbN)r ÚopenÚzipfileÚZipFiler#ÚnamelistÚinfolistÚfilenamerr rÚjoinÚdirnamer+rÚformatÚendswithÚshutilÚ copyfileobjÚcloser;r2) rEÚlocationÚflattenÚzipfpÚzipÚleadingr9ÚnameÚfnÚdirÚmessageÚfpÚdestfps              rÚ
unzip_filerXms€ôˆxÔÜ ˜4Ó  €Eð Üo‰o˜e°Ô5ˆÜ! #§,¡,£.Ó1Ò=°gˆØ—L‘L“Nó    OˆDØ—=‘=ˆD؈BÙÜ& tÓ,¨QÑ/Ü—‘—‘˜h¨Ó+ˆBÜ—'‘'—/‘/ "Ó%ˆCÜ& x°Ô4ð4ðô(¨¯©°xÀÀXÓ(NÓOÐO؏{‰{˜;Ô'ä˜2•ä˜3”ð—X‘X˜d“^ðOܘb $›ð7¨6Ü×*Ñ*¨2¨vÔ6÷7ð—H‘H”JÜ-¨dÖ3ÜJÈ2ÖNñ7    Oð:     ‰  ÷7ð7ûð—H‘H”JÜ-¨dÔ3ÜJÈ2ÕNð4ûð     ‰  úsB™DGÄ" FÄ.F
ÅFÅ GÅ*GÆ
F    ÆFÆ)F?Æ?GÇGc󇇇 ‡ —t‰«‰j«jd«s‰j«jd«rd}n†‰j«jt«rd}n`‰j«jt«rd}n:‰j«jd«rd}nt
j d‰«d    }tj‰|d
¬ «}    t|j«Dcgc]}|j‘Œc}«}    tjŠ t«Š |rj|j«D]W}t|j«\}}||_ |j«sŒ3t|j «\}}    ||k(sŒQ|    |_ŒYdˆ ˆ ˆˆfd „ }
|j#‰|
¬ «|j)«ycc}w#t$$rt'‰‰||«YŒ/wxYw#|j)«wxYw)a¡
    Untar the file (with path `filename`) to the destination `location`.
    All files are written based on system defaults and umask (i.e. permissions
    are not preserved), except that regular file members with any execute
    permissions (user, group, or world) have "chmod +x" applied on top of the
    default.  Note that for windows, any execute changes using os.chmod are
    no-ops per the python docs.
    z.gzz.tgzzr:gzzr:bz2zr:xzz.tarÚrz-Cannot determine compression type for file %szr:*zutf-8)Úencodingcó|•—|j}        ‰|‰«}|j«r|dzr    ‰|_|Sd|_|S#tj$r0tjdddvrtj
|‰«}n‚YŒiwxYw#tj $r"}d}t|j‰|««‚d}~wwxYw)Né>©r]é    é©r]é
é ©r]é éz%Invalid member in the tar file {}: {}r-)
r:ÚtarfileÚLinkOutsideDestinationErrorÚsysÚ version_infoÚ
tar_filterÚTarErrorrrHÚisfile)    ÚmemberrÚ    orig_modeÚexcrUÚ data_filterÚdefault_mode_plus_executablerErMs         €€€€rÚ
pip_filterzuntar_file.<locals>.pip_filterÎsÛø€Ø"ŸK™K    ðð"Ù!,¨V°XÓ!>˜ð2—=‘=”? y°5Ò'8Ø">F”Kð ð#'F”Kؐ øôA#×>Ñ>ò "Ü×+Ñ+¨B¨QÐ/ð4ñô&-×%7Ñ%7¸ÀÓ%I™Fà!ñ#ð "ûô×'Ñ'ò    ØEGô,ØŸ™Ø$Øóóðûð        ús0    AÁABÂBÂBÂBÂB;ÂB6Â6B;)ÚfilterN)rnútarfile.TarInforÚstrÚreturnru)r ÚlowerrIrr    ÚloggerÚwarningrgr@r#Ú
getmembersrRrqr/rÚislnkÚlinknameÚ
extractallÚAttributeErrorÚ_untar_without_filterrL) rErMr:ÚtarrnrQÚ    name_leadÚ    name_restÚlnk_leadÚlnk_restrsrqrrs ``         @@rÚ
untar_filer†›s³û€ôˆxÔØ‡~~Ó× Ñ  Ô'¨8¯>©>Ó+;×+DÑ+DÀVÔ+L؉ؠ   ‰Ó    ×    "Ñ    "¤>Ô    2؉ؠ   ‰Ó    ×    "Ñ    "¤=Ô    1؉ؠ   ‰Ó    ×    "Ñ    " 6Ô    *Ø‰ä‰Ø ;Ø ô    
ðˆä
,‰,x °Ô
8€CðCÜ!¸S¿^¹^Ó=MÖ"N°6 6§;£;Ò"NÓOˆð
:    8Ü!×-Ñ-ˆKô,MÓ+NÐ (áð"Ÿn™nÓ.ò7FÜ+<¸V¿[¹[Ó+IÑ(I˜yØ"+F”KØ—|‘|•~Ü->¸v¿¹Ó-OÑ*˜ (Ø# yÓ0Ø.6˜FOð 7÷% ð% ðN N‰N˜8¨JˆNÔ 7ð         ‰     ùòE#Oøôò    DÜ ! (¨H°c¸7Ö Cð    Dûðv         ‰     úsOÃ0G7ÄGÄG7Ä"GÄ2AG7ÆG7Æ%G7ÇG7ÇG4Ç1G7Ç3G4Ç4G7Ç7H    cóÔ—|j«D]P}|j}|rt|«d}tjj ||«}t ||«sd}t|j|||««‚|j«r t|«Œ†|j«r    |j||«Œª    |j!|«}    ttjj'|««|    €J‚t)|d«5}
t+j,|    |
«ddd«|    j/«|j1||«|j2dzsŒFt5|«ŒSy#t$r-}tjd||j|«Yd}~Œ†d}~wwxYw#t"t$f$r-}tjd||j|«Yd}~ŒÅd}~wwxYw#1swYŒÃxYw)z/Fallback for Python without tarfile.data_filterrzQThe tar file ({}) has a file ({}) trying to install outside target directory ({})z/In the tar file %s the member %s is invalid: %sNr?r-)r{rRrr rrFr+rrHÚisdirr ÚissymÚ_extract_memberÚ    ExceptionryrzÚ extractfileÚKeyErrorrrGr@rJrKrLÚutimer:r2) rErMrrQrnrSrrUrprVrWs            rr€r€ûs§€ð—.‘.Ó"ó0IˆØ [‰[ˆÙ Ü" 2Ó& qÑ)ˆB܏w‰w|‰|˜H bÓ)ˆÜ" 8¨TÔ2ð0ð ô$ G§N¡N°8¸TÀ8Ó$LÓMÐ MØ <‰<Œ>Ü tÕ Ø \‰\Œ^ð Ø×#Ñ# F¨DÕ1ð Ø—_‘_ VÓ,ô ”r—w‘w—‘ tÓ,Ô -ؐ>Ð !>ܐd˜DÓ!ð / VÜ×"Ñ" 2 vÔ.÷ /à H‰HŒJà I‰If˜dÔ #à{‰{˜UÔ"ÜBÀ4ÖHña0Iøô ò     ô—‘ØEØØ—K‘KØô    õ ûð     ûôœnÐ-ò     ô—‘ØEØØ—K‘KØô    õ ûð     ú÷ /ð /ús<Â(E&Â<FÄGÅ&    FÅ/"FÆFÆGÆ."GÇGÇG'    cóô—tjj|«}|dk(s8|j«j    t
«st j|«rt|||j    d« ¬«y|dk(sFtj|«s1|j«j    ttztz«r t||«ytj!d|||«t#d|›«‚)Nzapplication/zipz.whl)rNzapplication/x-gzipzZCannot unpack file %s (downloaded from %s, content-type: %s); cannot detect archive formatz#Cannot determine archive format of )r rÚrealpathrxrIr
rAÚ
is_zipfilerXrgÚ
is_tarfilerrr    r†ryÚcriticalr)rErMÚ content_types   rÚ unpack_filer•5sπô
w‰w×Ñ Ó)€HàÐ)Ò)Ø >‰>Ó × $Ñ $¤^Ô 4Ü × Ñ ˜hÔ 'ä8˜X°8×3DÑ3DÀVÓ3LÐ/LÖMàÐ,Ò,Ü × Ñ ˜hÔ 'Ø >‰>Ó × $Ñ $¤^´nÑ%DÄ}Ñ%TÔ Uä8˜XÕ&ô    ‰ð +à Ø Ø ô     
ô Ð"EÀhÀZРPÓQÐQr)rwÚint)rrvrwz    list[str])rz Iterable[str]rwr6)r'rvr(rvrwr6)rrvrwÚNone)r9rrwr6)T)rErvrMrvrNr6rwr—)rErvrMrvrwr—)
rErvrMrvrztarfile.TarFilerQr6rwr—)N)rErvrMrvr”z
str | Nonerwr—))Ú__doc__Ú
__future__rÚloggingr rJr7rirgrAÚcollections.abcrrÚpip._internal.exceptionsrÚpip._internal.utils.filetypesrrr    r
Úpip._internal.utils.miscr Ú    getLoggerÚ__name__ryÚSUPPORTED_EXTENSIONSÚbz2Ú ImportErrorÚdebugÚlzmarrr#r+r/r2r;rXr†r€r•r.rrú<module>r¦sVðÙ!å"ãÛ    Û Û Û
ÛÛÝ$Ýå6÷óõ 0à    ˆ×    Ñ    ˜8Ó    $€ð&¨Ñ6Ðð0Ûà˜NÑ*Ðð1ãà˜MÑ)Ðó
ó    ó ó#ó,ó8ó>ô+ó\]ð@7IØð7Iàð7Ið
ð7Iðð    7Ið
 
ó 7Iðz $ðRØðRàðRððRð
ô    Røðiò0Ø
‡LLÐ.Ö/ð0ûðò1Ø
‡LLÐ/Ö0ð1ús$Á!    B5Á+    CÂ5Cà CÃC*Ã)C*