2bi ~SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK J r SSK J r J r JrJr SSKJr SSKJr SSKJr SSKJr SSKJr SS KJr SS KJr SS KJ r SS K!J"r" SS K#J$r$ SSK%J&r& SSK'J(r(J)r) SSK*J+r+J,r,J-r- SSK.J/r/ \R`"SS9r1\Rd"\35r4S\5S\54Sjr6S\5S\R4Sjr7"SS5r8\ "SS55r9S\5S\:4Sjr;S\$S \RxS\\54S!jr=S"\8S#\RS$\ S%\ /\\54S\\94 S&jr>S\$S \RxSS4S'jr?g)(N) dataclass)AnyCallableDictOptional)parse)Group)escape)Text) LinkCollector) PackageFinder)get_default_environment)DistributionVersion)SelectionPreferences) PipSession)WINDOWS) get_best_invocation_for_this_pip#get_best_invocation_for_this_python)adjacent_tmp_filecheck_path_ownerreplace) ensure_dir)dayskeyreturncnUR5n[R"U5R5nU$N)encodehashlibsha224 hexdigest)r key_bytesnames ړ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/self_outdated_check.py_get_statefile_namer&$s) I >>) $ . . 0D Kisodatec`[RRURSS55$)zConvert 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)r(s r% _convert_dater-*s&    * *7??3+I JJr'c\rSrSrS\SS4Sjr\S\4Sj5rS\RS\ \4Sjr S \S\RSS4S jr S r g) SelfCheckState3 cache_dirrNcl0UlSUlU(as[RR US[ UR 55Ul[URSS9n[R"U5UlSSS5 gg!,(df  g=f![[[4a gf=f)N selfcheckzutf-8)encoding) _state_statefile_pathospathjoinr&ropenjsonloadOSError ValueErrorKeyError)selfr1 statefiles r%__init__SelfCheckState.__init__4s&( # #%77<<;(;DHH(E$D  $..AY"&))I"6DKBA  BAZ2  s0B$B B BBBB32B3c"[R$r)sysprefix)r@s r%rSelfCheckState.keyEs zzr' current_timecUR(dgSUR;agSUR;ag[URS5nX- nU[:agURS$)z7Check if we have a not-outdated version loaded already.N last_check pypi_version)r5r-_WEEK)r@rHrJtime_since_last_checks r%getSelfCheckState.getIsb{{ t{{ *  ,#4;;|#<= , 9 5 ({{>**r'rKcbUR(dg[[RR UR55(dg[ [RR UR55 UR UR5US.n[R"USSS9n[UR5nURUR55 SSS5 [WRUR5 g!,(df  N0=f![a gf=f)N)rrJrKT),:) sort_keys separators)r6rr7r8dirnamerr isoformatr;dumpsrwriterrr$r=)r@rKrHstatetextfs r%setSelfCheckState.set\s##  0D0D EFF  277??4#7#789 88&002(  zz%4JG t33 4 GGDKKM "5  AFFD00 1 5 4   s D/ D! D! D.-D.)r5r6) __name__ __module__ __qualname____firstlineno__strrBpropertyrr+rrNr\__static_attributes__r'r%r/r/3sm#$"S+ 1 1+hsm+&  83D3D  r'r/c8\rSrSr%\\S'\\S'S\4SjrSrg) UpgradePromptoldnewrc [(a[5S3nO [5nSn[[ 5[R "USUR SURS35[R "US[U5S355$)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_markuprirjr )r@pip_cmdnotices r%__rich__UpgradePrompt.__rich__s 7<>?wGG68GB F   (z!3DHH:WF    ( /**@B   r'reN) r^r_r`rarb__annotations__r rordrer'r%rgrgs H H % r'rgpkgch[5RU5nUSL=(a SUR:H$)zChecks 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. Npip)rget_distribution installer)rrdists r%was_installed_by_piprxs0 # $ 5 5c :D t  7 77r'sessionoptionsc[R"UUSS9n[SSS9n[R"UUS9nUR S5R nUcg[ UR5$)NT)rzsuppress_no_indexF) allow_yankedallow_all_prereleases)link_collectorselection_prefsrt)r createrr find_best_candidatebest_candidaterbversion)ryrzrrfinderrs r%_get_current_remote_pip_versionrsy#))N+#O  ! !%'F//6EEN ~%% &&r'rYrH local_versionget_remote_versioncURU5nUc1U"5nUc[RS5 gURXA5 [ U5n[RSU5 [RSU5 [ S5n[RSU5 U(dgX%:=(a UR UR :gnU(a[[U5US9$g)NzNo remote pip version foundzRemote version of pip: %szLocal version of pip: %srtzWas pip installed by pip? %s)rirj) rNloggerdebugr\ parse_versionrx base_versionrgrb)rYrHrrremote_version_strremote_versionpip_installed_by_piplocal_version_is_olders r%_self_version_check_logicrs<0!/1  % LL6 7 $3"#56N LL,n= LL,m</6 LL/1EF  & F  & &.*E*E E]!39KLL r'c [5RS5nU(dg[[URS9[ R R [ RR5UR[R"[X5S9nUb[RSUSS0S9 gg![a, [RS 5 [R!S SS 9 gf=f) zCheck 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. rtN)r1)rYrHrrz%srichT)extraz6There was an error checking the latest version of pip.zSee below for error)exc_info)rrurr/r1r+nowtimezoneutcr functoolspartialrrwarning Exceptionr)ryrzinstalled_distupgrade_prompts r%pip_self_version_checkrs-.??FN  ;2 7+<+<=!**..x/@/@/D/DE(00(00/     % NN4~N F & ;OP *T :;sBB443C*)C*)@r+rr r;loggingoptparseos.pathr7rE dataclassesrtypingrrrrpip._vendor.packaging.versionrrpip._vendor.rich.consoler pip._vendor.rich.markupr pip._vendor.rich.textr pip._internal.index.collectorr "pip._internal.index.package_finderr pip._internal.metadatarpip._internal.metadata.baser$pip._internal.models.selection_prefsrpip._internal.network.sessionrpip._internal.utils.compatrpip._internal.utils.entrypointsrrpip._internal.utils.filesystemrrrpip._internal.utils.miscr timedeltarL getLoggerr^rrbr&r-r/rgboolrxValuesrrrrer'r%rsr  !00@**&7<:;E4.XW/"   8 $SS K3K8#4#4KIIX     08c8d8' '"*//' c]'8 ##'  !Xc]!23  m D;J;;T;r'