hyb
2026-01-07 c7f60dc7e9a36596f0e0d1787bd0cca4e9b57bcb
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
Ë
ñúh† ãóô—ddlmZddlZddlZddlZddlZddlZddlZddlZ    ddl
Z
ddl m Z ddl mZmZddlmZddlmZddlmZddlmZdd    lmZdd
lmZdd lmZdd lmZdd l m!Z!ddl"m#Z#ddl$m%Z%ddl&m'Z'm(Z(ddl)m*Z*m+Z+m,Z,ddl-m.Z.m/Z/m0Z0ejbd¬«Z2ejfe4«Z5dd„Z6d d„Z7Gd„d«Z8e Gd„d««Z9d!d„Z:                        d"d„Z;                                        d#d„Z<d$d„Z=y)%é)Ú annotationsN)Ú    dataclass)ÚAnyÚCallable)ÚVersion)Úparse)ÚGroup)Úescape)ÚText)Ú LinkCollector)Ú PackageFinder)Úget_default_environment)ÚSelectionPreferences)Ú
PipSession)ÚWINDOWS)Ú get_best_invocation_for_this_pipÚ#get_best_invocation_for_this_python)Úadjacent_tmp_fileÚcheck_path_ownerÚreplace)ÚExternallyManagedEnvironmentÚcheck_externally_managedÚ
ensure_diré)Údayscól—|j«}tj|«j«}|S©N)ÚencodeÚhashlibÚsha224Ú    hexdigest)ÚkeyÚ    key_bytesÚnames   úTH:\Change_password\venv_build\Lib\site-packages\pip/_internal/self_outdated_check.pyÚ_get_statefile_namer&*s)€Ø—
‘
“ €IÜ >‰>˜)Ó $× .Ñ .Ó 0€DØ €Kócó`—tjj|jdd««S)z¥Convert an ISO format string to a date.
 
    Handles the format 2020-01-22T14:24:01Z (trailing Z)
    which is not supported by older versions of fromisoformat.
    ÚZz+00:00)ÚdatetimeÚ fromisoformatr)Úisodates r%Ú _convert_dater-0s&€ô × Ñ × *Ñ *¨7¯?©?¸3ÀÓ+IÓ JÐJr'có6—eZdZdd„Zedd„«Zdd„Zd    d„Zy)
ÚSelfCheckStatecóZ—i|_d|_|rutjj    |dt |j ««|_    t|jd¬«5}tj|«|_ddd«yy#1swYyxYw#tttf$rYywxYw)NÚ    selfcheckzutf-8)Úencoding) Ú_stateÚ_statefile_pathÚosÚpathÚjoinr&r"ÚopenÚjsonÚloadÚOSErrorÚ
ValueErrorÚKeyError)ÚselfÚ    cache_dirÚ    statefiles   r%Ú__init__zSelfCheckState.__init__:sœ€Ø&(ˆŒ Ø#ˆÔñ Ü#%§7¡7§<¡<ؘ;Ô(;¸D¿H¹HÓ(Eó$ˆDÔ  ð ܘ$×.Ñ.¸ÔAð7ÀYÜ"&§)¡)¨IÓ"6D”K÷7ð7ð ÷
7ð7ûäœZ¬Ð2ò ñð ús0Á BÁ"BÁ=BÂB BÂBÂB*Â)B*có"—tjSr)ÚsysÚprefix)r>s r%r"zSelfCheckState.keyKs €äz‰zÐr'cóė|jsyd|jvryd|jvryt|jd«}||z
}|tkDry|jdS)z7Check if we have a not-outdated version loaded already.NÚ
last_checkÚ pypi_version)r3r-Ú_WEEK)r>Ú current_timerFÚtime_since_last_checks    r%ÚgetzSelfCheckState.getOsd€à{Š{Øà ˜tŸ{™{Ñ *Øà  §¡Ñ ,Øô# 4§;¡;¨|Ñ#<Ó=ˆ
Ø ,¨zÑ 9ÐØ  ¤5Ò (Øà{‰{˜>Ñ*Ð*r'cóF—|jsyttjj    |j««syt tjj    |j««|j |j«|dœ}tj|dd¬«}t|j«5}|j|j««ddd«    tj|j«y#1swYŒ+xYw#t$rYywxYw)N)r"rFrGT)ú,ú:)Ú    sort_keysÚ
separators)r4rr5r6Údirnamerr"Ú    isoformatr9ÚdumpsrÚwriterrr$r;)r>rGrIÚstateÚtextÚfs      r%ÚsetzSelfCheckState.setbsã€à×#Ò#Ø ô ¤§¡§¡°×0DÑ0DÓ EÔFØ ô    ”2—7‘7—?‘? 4×#7Ñ#7Ó8Ô9ð
—8‘8Ø&×0Ñ0Ó2Ø(ñ 
ˆôz‰z˜%¨4¸JÔGˆä ˜t×3Ñ3Ó 4ð    #¸Ø G‰GD—K‘K“MÔ "÷    #ð    ô A—F‘F˜D×0Ñ0Õ 1÷     #ð    #ûôò    á ð    úsÂ> DÃ' DÄDÄ    D ÄD N)r?ÚstrÚreturnÚNone)rZrY)rIúdatetime.datetimerZú
str | None)rGrYrIr\rZr[)Ú__name__Ú
__module__Ú __qualname__rAÚpropertyr"rKrX©r'r%r/r/9s%„óð"òóðó+ô& r'r/có*—eZdZUded<ded<dd„Zy)Ú UpgradePromptrYÚoldÚnewc ó—trt«›d}n
t«}d}tt    «t    j
|›d|j ›d|j›d«t    j
|›dt|«›d««S)Nz -m pipz/[bold][[reset][blue]notice[reset][bold]][reset]z) A new release of pip is available: [red]z[reset] -> [green]z[reset]z To update, run: [green]z install --upgrade pip)    rrrr    r Ú from_markuprerfr
)r>Úpip_cmdÚnotices   r%Ú__rich__zUpgradePrompt.__rich__Šs•€Ý Ü<Ó>Ð?¸wÐG‰Gä6Ó8ˆGàBˆÜÜ ‹FÜ × Ñ Ø(ðØŸ™zÐ!3°D·H±H°:¸WðFó ô × Ñ Ø(ðÜ  ›/Ð*Ð*@ðBó ó
 
ð
    
r'N)rZr    )r^r_r`Ú__annotations__rkrbr'r%rdrd…s…à     ƒHØ     ƒHô
r'rdcó^—t«j|«}|duxrd|jk(S)zµChecks whether pkg was installed by pip
 
    This is used not to display the upgrade message when pip is in fact
    installed by system package manager, such as dnf on Fedora.
    NÚpip)rÚget_distributionÚ    installer)ÚpkgÚdists  r%Úwas_installed_by_piprsžs0€ô #Ó $× 5Ñ 5°cÓ :€DØ tÐ Ò 7 ¨¯©Ñ 7Ð7r'cóà—tj||d¬«}tdd¬«}tj||¬«}|j    d«j
}|€yt |j«S)NT)ÚoptionsÚsuppress_no_indexF)Ú allow_yankedÚallow_all_prereleases)Úlink_collectorÚselection_prefsrn)r Úcreaterr Úfind_best_candidateÚbest_candidaterYÚversion)ÚsessionruryrzÚfinderr}s      r%Ú_get_current_remote_pip_versionr¨sy€ô#×)Ñ)ØØØô€Nô+ØØ#ô€Oô
× !Ñ !Ø%Ø'ô€Fð×/Ñ/°Ó6×EÑE€NØÐØä ˆ~×%Ñ%Ó &Ð&r'có²—|j|«}|€1|«}|€tjd«y|j||«t    |«}tjd|«tjd|«t d«}tjd|«|sy||kxr|j |j k7}|rtt|«|¬«Sy)NzNo remote pip version foundzRemote version of pip: %szLocal version of pip:  %srnzWas pip installed by pip? %s)rerf)    rKÚloggerÚdebugrXÚ parse_versionrsÚ base_versionrdrY)rUrIÚ local_versionÚget_remote_versionÚremote_version_strÚremote_versionÚpip_installed_by_pipÚlocal_version_is_olders        r%Ú_self_version_check_logicrÄsՀ🙠<Ó0ÐØÐ!Ù/Ó1ÐØ Ð %Ü L‰LÐ6Ô 7ØØ     ‰    Ð$ lÔ3ä"Ð#5Ó6€NÜ
‡LLÐ,¨nÔ=Ü
‡LLÐ,¨mÔ<ä/°Ó6ÐÜ
‡LLÐ/Ð1EÔFÙ Øð    ˜Ñ&ò    FØ × &Ñ &¨.×*EÑ*EÑ Eðñܤ ]Ó!3Ð9KÔLÐLà r'c
ó —t«jd«}|sy    t«t    t |j ¬«tjjtjj«|jtjt||«¬«}|tj!d|ddi¬«yy#t$rYywxYw)    zÛCheck for an update for pip.
 
    Limit the frequency of checks to once per week. State is stored either in
    the active virtualenv or in the user's USER_CACHE_DIR keyed off the prefix
    of the pip script path.
    rnN)r?)rUrIr‡rˆz%sÚrichT)Úextra)rrorrrr/r?r*ÚnowÚtimezoneÚutcr~Ú    functoolsÚpartialrrƒÚwarning)rruÚinstalled_distÚupgrade_prompts    r%Úpip_self_version_checkr™æs·€ô-Ó.×?Ñ?ÀÓF€NÙ ØðÜ Ô"ô/Ü w×'8Ñ'8Ô9Ü×&Ñ&×*Ñ*¬8×+<Ñ+<×+@Ñ+@ÓAØ$×,Ñ,Ü$×,Ñ,Ü +¨W°gó
ô    €NðÐ!܏‰t˜^°F¸D°>ˆÕBð"øô (òÙðúsž
Cà   C à C )r"rYrZrY)r,rYrZr\)rqrYrZÚbool)rrruúoptparse.ValuesrZr])
rUr/rIr\r‡rrˆzCallable[[], str | None]rZzUpgradePrompt | None)rrrur›rZr[)>Ú
__future__rr*r”rr9ÚloggingÚoptparseÚos.pathr5rCÚ dataclassesrÚtypingrrÚpip._vendor.packaging.versionrrr…Úpip._vendor.rich.consoler    Úpip._vendor.rich.markupr
Úpip._vendor.rich.textr Úpip._internal.index.collectorr Ú"pip._internal.index.package_finderr Úpip._internal.metadatarÚ$pip._internal.models.selection_prefsrÚpip._internal.network.sessionrÚpip._internal.utils.compatrÚpip._internal.utils.entrypointsrrÚpip._internal.utils.filesystemrrrÚpip._internal.utils.miscrrrÚ    timedeltarHÚ    getLoggerr^rƒr&r-r/rdrsrrr™rbr'r%ú<module>r±sðÝ"ãÛÛÛ ÛÛÛÛ
Ý!ß å1Ý@Ý*Ý*Ý&å7Ý<Ý:ÝEÝ4Ý.÷÷XÑW÷ñð     ˆ×Ñ Ô"€à    ˆ×    Ñ    ˜8Ó    $€óó K÷IñIðX ÷
ð
ó ð
ó08ð'Ø ð'Ø"1ð'àó'ð8à ðð$ððð    ð
1ð ð ó ôDCr'