2bi\ FSrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKJ r J r J r SSK J r JrJrJrJrJr SSKJrJr SSKJrJrJr SSKJr SSKJr \ (aSS KJr SS K J r SS K!J"r" SS K#J$r$ \RJ"\&5r'S \(S\)4Sjr*S \\\(4S\S\(S\(S\4 Sjr+"SS\,5r-"SS\-5r."SS\-5r/"SS\-5r0"SS\-5r1"SS\.5r2"S S!\.5r3"S"S#\-5r4"S$S%\05r5"S&S'\05r6"S(S)\05r7"S*S+\05r8"S,S-\-5r9"S.S/\-5r:"S0S1\-5r;"S2S3\-5r<"S4S5\-5r="S6S7\05r>"S8S9\05r?"S:S;\05r@"S<S=\05rA"S>S?\.\05rB"S@SA\B\05rC"SBSC\05rD"SDSE\05rE"SFSG\E5rF"SHSI\E5rG"SJSK\E5rH"SLSM\E5rI"SNSO\E5rJ"SPSQ\05rK"SRSS\/5rLST\RSU3rN"SVSW\.5rOg)XzExceptions used throughout package. This module MUST NOT try to import from anything within `pip._internal` to operate. This is expected to be importable from any/all files within the subpackage and, thus, should not depend on them. N)chaingroupbyrepeat) TYPE_CHECKINGDictIteratorListOptionalUnion)RequestResponse)ConsoleConsoleOptions RenderResult)escape)Text)_Hash)Literal)BaseDistribution)InstallRequirementsreturnc4[R"SU5SL$)Nz^[a-z]+(-[a-z]+)*$)rematch)rs ڊ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/exceptions.py_is_kebab_caser$s 88)1 -T 99consoleprefixindentc[U[5(aUnOURU5nURUSS9URSU3SS9RUR SS95-$)Nignore)overflow T) allow_blank) isinstancer render_strjoinsplit)rrr r!texts r_prefix_with_indentr,(sv!T!!!$   fx  87;M;M VH r?rc>>Uc$[US5(dS5eURn[U5(dS5eXlX lX0lX@lX`lXPlXpl[TU])SURRSURS35 g)Nr;zerror reference not provided!z#error reference must be kebab-case!) hasattrr;rr=r@rAr>rBr?super__init__ __class__r2) selfr=r;r@rArBr>r?rIs rrHDiagnosticPipError.__init__Js  4-- N/N N-Ii((O*OO( "  ""  1T^^445R7GqIJrc SURRSUR<SUR<SUR<SUR <SUR <S3 $)NrDz (reference=z , message=z , context=z , note_stmt=z , hint_stmt=z)>)rIr2r;r@rAr>rBrJs r__repr__DiagnosticPipError.__repr__hsl''()*+||&'||&'*+*    rroptionsc## URS:XaSOSnSUSURSURS3v Sv UR(dgURbA[ UR USUS 3SUS 3S 9v [ URUSUS 3SUS 3S 9v OF[ UR USSS 9v O-UR v URbSv URv UR c URbSv UR b[ UR USSS 9v URb[ URUSSS 9v URbSv SUR3v gg7f)Nr<redyellow[z bold]z [/]: [bold]z[/]u]×[/] u]│[/] )r r!u ]╰─>[/] z] [/] u [red]×[/] z z[magenta bold]note[/]: z z[cyan bold]hint[/]: zLink: ) r=r; ascii_onlyrAr,r@r>rBr?)rJrrPcolours r__rich_console__#DiagnosticPipError.__rich_console__ss ))w.H& {+dnn5ESII!!||')LLvhg.vhh/  *LLvhl3vhh/ *LL( ,, ||'ll" >> %)CH >> %%0   >> %%-   99 H499+& & !sE,E.)rArBr=r?r@r>r;)r2r3r4r5r6str__annotations__r r rrHrNrrrrXr7 __classcell__rIs@rr9r9=sN /6#'15"K,KC= K sDy! K %T *+ KE#t),-KE#t),-KsmK KK<  #  :':' :'  :':'rr9c\rSrSrSrSrg)ConfigurationErrorz"General exception in configurationr0Nr1r0rrr_r_s,rr_c\rSrSrSrSrg)InstallationErrorz%General exception during installationr0Nr1r0rrrbrbs/rrbc\rSrSrSrSrg)UninstallationErrorz'General exception during uninstallationr0Nr1r0rrreres1rrec<^\rSrSrSrSrS\SS4U4SjjrSrU=r $) MissingPyProjectBuildRequireszNRaised when pyproject.toml has `build-system`, but no `build-system.requires`.z'missing-pyproject-build-system-requirespackagerNcb>[TU]S[U53[S5S[S5S9 g)NCan not process zrThis package has an invalid pyproject.toml file. The [build-system] table is missing the mandatory `requires` key.;This is an issue with the package mentioned above, not pip.+See PEP 518 for the detailed specification.r@rAr>rBrGrHrr)rJrjrIs rrH&MissingPyProjectBuildRequires.__init__sA &vg&78TTHI  rr0 r2r3r4r5r6r;rZrHr7r\r]s@rrhrhs#X9I  3  4   rrhc@^\rSrSrSrSrS\S\SS4U4SjjrS rU=r $) InvalidPyProjectBuildRequiresz>Raised when pyproject.toml an invalid `build-system.requires`.z'invalid-pyproject-build-system-requiresrjreasonrNch>[TU]S[U53[SU35S[S5S9 g)NrlzKThis package has an invalid `build-system.requires` key in pyproject.toml. rmrnrorp)rJrjrvrIs rrH&InvalidPyProjectBuildRequires.__init__sJ &vg&78$$*8-THI  rr0rrr]s@rrtrts*H9I  3       rrtc<\rSrSrSrSSS\SS4SjrS\4S jrS rg) NoneMetadataErrora Raised when accessing a Distribution's "METADATA" or "PKG-INFO". This signifies an inconsistency, when the Distribution claims to have the metadata file (if not, raise ``FileNotFoundError`` instead), but is not actually able to produce its content. This may be due to permission errors. distr metadata_namerNcXlX lg)z :param dist: A Distribution object. :param metadata_name: The name of the metadata being accessed (can be "METADATA" or "PKG-INFO"). Nr|r})rJr|r}s rrHNoneMetadataError.__init__s *rcNSRURUR5$)Nz+None {} metadata found for distribution: {})formatr}r|rMs r__str__NoneMetadataError.__str__s'=CC    II  rr r2r3r4r5r6rZrHrr7r0rrrzrzs4 +  + +  +  rrzc&\rSrSrSrS\4SjrSrg)UserInstallationInvalidzBA --user install is requested on an environment without user site.rcg)Nz$User base directory is not specifiedr0rMs rrUserInstallationInvalid.__str__s5rr0N)r2r3r4r5r6rZrr7r0rrrrsL66rrc"\rSrSrS\4SjrSrg)InvalidSchemeCombinationircxSRSURSS55nSUSURSS3$)Nz, c38# UHn[U5v M g7fN)rZ).0as r 3InvalidSchemeCombination.__str__.. s:>a3q66>sz Cannot set z and z together)r)args)rJbefores rr InvalidSchemeCombination.__str__s=:499Sb>::VHE$))B- BBrr0N)r2r3r4r5rZrr7r0rrrrsCCrrc\rSrSrSrSrg)DistributionNotFoundi zCRaised when a distribution cannot be found to satisfy a requirementr0Nr1r0rrrr sMrrc\rSrSrSrSrg)RequirementsFileParseErrorizDRaised when a general error occurs parsing a requirements file line.r0Nr1r0rrrrsNrrc\rSrSrSrSrg)BestVersionAlreadyInstalledizJRaised when the most up-to-date version of a package is already installed.r0Nr1r0rrrrsrrc\rSrSrSrSrg) BadCommandiz0Raised when virtualenv or a command is not foundr0Nr1r0rrrrs:rrc\rSrSrSrSrg) CommandErroriz7Raised when there is an error in command-line argumentsr0Nr1r0rrrrsArrc\rSrSrSrSrg)PreviousBuildDirErrori"z:Raised when there's a previous conflicting build directoryr0Nr1r0rrrr"sDrrc b^\rSrSrSrS S\S\\S\\SS4U4Sjjjr S\4S jr S r U=r $) NetworkConnectionErrori&zHTTP connection errorN error_msgresponserequestrc>X lX0lXlURb=UR(d,[US5(aURRUl[TU]XU5 g)zK Initialize NetworkConnectionError with `request` and `response` objects. Nr)rrrrFrGrH)rJrrrrIs rrHNetworkConnectionError.__init__)sR!  " MM %LL),,==00DL g6rc,[UR5$r)rZrrMs rrNetworkConnectionError.__str__>s4>>""r)rrr)NN) r2r3r4r5r6rZr r r rHrr7r\r]s@rrr&sY (,%) 778$7'" 7  77*###rrc\rSrSrSrSrg)InvalidWheelFilenameiBzInvalid wheel filename.r0Nr1r0rrrrBs!rrc\rSrSrSrSrg)UnsupportedWheeliFzUnsupported wheel.r0Nr1r0rrrrFsrrc8\rSrSrSrS\S\4SjrS\4SjrSrg ) InvalidWheeliJzInvalid (e.g. corrupt) wheel.locationnamecXlX lgrrr)rJrrs rrHInvalidWheel.__init__Ms   rrc<SURSURS3$)NzWheel 'z ' located at z is invalid.)rrrMs rrInvalidWheel.__str__Qs =|LLrrNrr0rrrrJs&'CMMrrc D\rSrSrSrSSS\S\S\SS 4 S jrS\4S jrS rg ) MetadataInconsistentiUaBuilt metadata contains inconsistent information. This is raised when the metadata contains values (e.g. name and version) that do not match the information previously obtained from sdist filename, user-supplied ``#egg=`` value, or an install requirement name. ireqrfieldf_valm_valrNc4XlX lX0lX@lgrrrrr)rJrrrrs rrHMetadataInconsistent.__init__]s    rcrSURSURSUR<SUR<3$)Nz Requested z has inconsistent z : expected z, but metadata has rrMs rrMetadataInconsistent.__str__es= #5djj\B ~%8 H r)rrrrrr0rrrrUs@(14=@IL   rrc^^\rSrSrSrSrS\S\S\\ \SS4U4S jjr S\4S jr S r U=r $) InstallationSubprocessErrorilzA subprocess call failed.zsubprocess-exited-with-errorcommand_description exit_code output_linesrNc$>Uc [S5nOU[R"S[U5S35[SRU55-[R"S5-n[TU]S[ U5SU3USSS 9 XlX lg) NzSee above for output.z[red][z lines of output][/] rUz[red]\[end of output][/]z[green]z)[/] did not run successfully. exit code: zNThis error originates from a subprocess, and is likely not a problem with pip.r@rArBr>) r from_markuplenr)rGrHrrr)rJrrr output_promptrIs rrH$InstallationSubprocessError.__init__qs   !89M  6#l*;)<?@  &!4567'[*"$  $7 "rc8URSUR3$)Nz exited with rrrMs rr#InstallationSubprocessError.__str__s**+=8HIIrr)r2r3r4r5r6r;rZintr r rHrr7r\r]s@rrrlsV#.I#!# # tCy) #  #@JJJrrcF^\rSrSrSrS\SS4U4SjjrS\4SjrSrU=r $) MetadataGenerationFailedizmetadata-generation-failedpackage_detailsrNc@>[[U] S[U5SSS9 g)Nz4Encountered error while generating package metadata.zSee above for details.rmr)rGrrHr)rJrrIs rrH!MetadataGenerationFailed.__init__s+ )49J?+.S : rcg)Nzmetadata generation failedr0rMs rr MetadataGenerationFailed.__str__s+rr0) r2r3r4r5r;rZrHrr7r\r]s@rrrs2,I       ,,,rrcH\rSrSrSrS SjrS SjrS\4SjrS\ 4Sjr S r g) HashErrorsiz:Multiple HashError instances rolled into one for reportingrNc/UlgrerrorsrMs rrHHashErrors.__init__s )+ rc:URRU5 gr)rappend)rJr<s rrHashErrors.appends 5!rc/nURRSS9 [URS5H8up#URUR5 UR SU55 M: U(aSR U5$g)NcUR$r)orderes r$HashErrors.__str__..sqwwr)keycUR$rr]rs rrrsrc3@# UHoR5v M g7fr)body)rrs rr%HashErrors.__str__..s9=a=sr%rU)rsortrrheadextendr))rJlinescls errors_of_clss rrHashErrors.__str__sp ./")$++7L"M C LL " LL9=9 9#N 99U# #rc,[UR5$r)boolrrMs r__bool__HashErrors.__bool__sDKK  rr)rN)r< HashErrorrN) r2r3r4r5r6rHrrZrrrr7r0rrrrs'D,"!$!rrcj\rSrSr%SrSr\S\S'SrSr \ \S'S \ 4S jr S \ 4S jr S \ 4S jrS rg)riad A failure to verify a package against known-good hashes :cvar order: An int sorting hash exception classes by difficulty of recovery (lower being harder), so the user doesn't bother fretting about unpinned packages when he has deeper issues, like VCS dependencies, to deal with. Also keeps error reports in a deterministic order. :cvar head: A section heading for display above potentially many exceptions of this kind :ivar req: The InstallRequirement that triggered this error. This is pasted on after the exception is instantiated, because it's not typically available earlier. NrreqrUrrrc(SUR53$)aReturn a summary of me for display under the heading. This default implementation simply prints a description of the triggering requirement. :param req: The InstallRequirement that provoked this error, with its link already populated by the resolver's _populate_link(). z )_requirement_namerMs rrHashError.bodysd,,./00rc@URSUR53$)Nr%)rrrMs rrHashError.__str__s))Btyy{m,,rcRUR(a[UR5$S$)zReturn a description of the requirement that triggered me. This default implementation returns long description of the req, with line numbers unknown package)rrZrMs rrHashError._requirement_names!%s488}?.??rr0)r2r3r4r5r6rr r[rrrrZrrrr7r0rrrrsM +/C& '. DE3O 1c 1--@3@rrc \rSrSrSrSrSrSrg)VcsHashUnsupportediqA hash was provided for a version-control-system-based requirement, but we don't have a method for hashing those.rzlCan't verify hashes for these requirements because we don't have a way to hash version control repositories:r0Nr2r3r4r5r6rrr7r0rrrrs1 E ; rrc \rSrSrSrSrSrSrg)DirectoryUrlHashUnsupportedirzUCan't verify hashes for these file:// requirements because they point to directories:r0Nr r0rrr r s1 E  rr c@\rSrSrSrSrSrS\SS4SjrS\4S jr S r g) HashMissingiz2A hash was needed for a requirement but is absent.awHashes are required in --require-hashes mode, but they are missing from some requirements. Here is a list of those requirements along with the hashes their downloaded archives actually had. Add lines like these to your requirements files to prevent tampering. (If you did not enable --require-hashes manually, note that it turns on automatically when any package has a hash.) gotten_hashrNcXlg)zY :param gotten_hash: The hash of the (possibly malicious) archive we just downloaded Nr)rJrs rrHHashMissing.__init__s 'rcSSKJn SnUR(aHURR(aURRO[ URSS5nSR U=(d SXR5$)Nr) FAVORITE_HASHrz {} --hash={}:{}r)pip._internal.utils.hashesrr is_direct original_linkgetattrrr)rJrrjs rrHashMissing.bodysl< 88 88%%&&TXXud3 %++  ((-9I9I  rr) r2r3r4r5r6rrrZrHrr7r0rrrrs3< E  'C'D' c rrc \rSrSrSrSrSrSrg) HashUnpinnedi-zLA requirement had a hash specified but was not pinned to a specific version.zaIn --require-hashes mode, all requirements must have their versions pinned with ==. These do not:r0Nr r0rrrr-s E 1 rrcl\rSrSrSrSrSrS\\\ \4S\\S4SS 4S jr S\4S jr S\4S jr S r g ) HashMismatchi8z Distribution file hash values don't match. :ivar package_name: The name of the package that triggered the hash mismatch. Feel free to write to this after the exception is raise to improve its error message. zTHESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.allowedgotsrrNcXlX lg)z :param allowed: A dict of algorithm names pointing to lists of allowed hex digests :param gots: A dict of algorithm names pointing to hashes we actually got from the files under suspicion Nr!r")rJr!r"s rrHHashMismatch.__init__Js  rc^SRUR5UR55$)Nz {}: {})rr_hash_comparisonrMs rrHashMismatch.bodyTs'##D$:$:$S>S>UVVrcF^S[SS4Sjn/nURR5Hcup4U"U5mURU4SjU55 UR SR UR UR555 Me SRU5$)a Return a comparison of actual and expected hash values. Example:: Expected sha256 abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde or 123451234512345123451234512345123451234512345 Got bcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdef hash_namerz chain[str]c.[U/[S55$)Nz or)rr)r*s r hash_then_or3HashMismatch._hash_comparison..hash_then_orcs)fX&67 7rc3Z># UH nSR[T5U5v M" g7f)z Expected {} {}N)rnext)rrr s rr0HashMismatch._hash_comparison..ks)LUq)00fqAAIs(+z Got {} r%) rZr!itemsrrrr" hexdigestr))rJr,rr* expectedsr s @rr'HashMismatch._hash_comparisonWs 8C 8L 8 $(LL$6$6$8 I!),F LLLU  LL.55dii 6J6T6T6VW  %9yyrr$)r2r3r4r5r6rrrrZr rHrr'r7r0rrrr8sc E / S$s)^ 4Dg[TU]U5 XlX lX0lgr)rGrHrvr9r<)rJrvr9r<rIs rrH*ConfigurationFileCouldNotBeLoaded.__init__|s!    rcURbSURS3nOURceSURS3nSURU3$)Nz in .z. r%zConfiguration file )r9r<rv)rJ message_parts rr)ConfigurationFileCouldNotBeLoaded.__str__sU :: !!$**Q/L::) ))  B/L$T[[M,@@r)r<r9rv)zcould not be loadedNN) r2r3r4r5r6rZr configparserErrorrHrr7r\r]s@rr8r8ysdB,#.2  }  **+    AAArr8zThe Python environment under z is managed externally, and may not be manipulated by the user. Please use specific tooling from the distributor of the Python installation to interact with this environment instead. c^\rSrSrSrSrS\\SS4U4Sjjr\ S\ \4Sj5r \ S \ \R\4SS4S j5rS rU=r$) ExternallyManagedEnvironmentia<The current environment is externally managed. This is raised when the current environment is externally managed, as defined by `PEP 668`_. The ``EXTERNALLY-MANAGED`` configuration is checked and displayed when the error is bubbled up to the user. :param error: The error message read from ``EXTERNALLY-MANAGED``. zexternally-managed-environmentr<rNct>Uc[[5nO [U5n[TU] SUS[S5S9 g)Nz&This environment is externally managedzIf you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.z+See PEP 668 for the detailed specification.ro)r!_DEFAULT_EXTERNALLY_MANAGED_ERRORrGrH)rJr<rArIs rrH%ExternallyManagedEnvironment.__init__sE =<=G5kG <J HI  rc## [Rn[R"U5upUb4SU3v SH'nUR U5upEnU(dM SU3v M) Sv g![a SnNJf=f7f)NzError-)-_rA)locale LC_MESSAGES getlocaleAttributeError partition)categorylangrIseprfounds r#_iter_externally_managed_error_keys@ExternallyManagedEnvironment._iter_externally_managed_error_keyss 1))H&&x0GD  4&/ !!#'>>##6 qvh'' "   '"&D 's(A:A(AA:( A74A:6A77A:configc[R"SS9nURUSS9 USnUR5H1n[R "[ 5 U"X45sSSS5 s $ U"S5$!,(df  ML=f![ a N&[[[R4a2 SSK J n [RU5n[RSXS9 Nuf=f) N) interpolationzutf-8)encodingzexternally-managedr)VERBOSEzFailed to read %s)exc_info)r@ ConfigParserreadrS contextlibsuppressKeyErrorOSErrorUnicodeDecodeError ParsingErrorpip._internal.utils._logrYlogger isEnabledForwarning)rrUparsersectionrrYrZs r from_config(ExternallyManagedEnvironment.from_configs **> K KKK 112G>>@((2w|,32A4y32  +\-F-FG K 8**73H NN.N J  Ks7AB  A8" B .B 8 B B C&A C&%C&r0)r2r3r4r5r6r;r rZrH staticmethodrrS classmethodr pathlibPathrir7r\r]s@rrCrCsy1I hsm  "#*gllC'( (rrC)Pr6r@r]rJloggingrmrsys itertoolsrrrtypingrrrr r r pip._vendor.requests.modelsr r pip._vendor.rich.consolerrrpip._vendor.rich.markuprpip._vendor.rich.textrhashlibrrpip._internal.metadatarpip._internal.req.req_installr getLoggerr2rdrZrrr, Exceptionr.r9r_rbrerhrtrzrrrrrrrrrrrrrrrrrrr rrrr6r8r rErCr0rrr|s  ,,GG9JJ*&7@   8 $ :c:d:) T3Y) )  )  )  )"yp'p'l--002(2 $6 " $6 "  >6/6C0C N,NO!2O( ;;B8BEHE#X#8","(M$M , .&J"46G&JR,: