/opt/alt/python37/lib/python3.7/site-packages/pip/_internal
NameSizeModeActions
cli/-0755rm
commands/-0755rm
distributions/-0755rm
index/-0755rm
models/-0755rm
network/-0755rm
operations/-0755rm
req/-0755rm
resolution/-0755rm
utils/-0755rm
vcs/-0755rm
__pycache__/-0755rm
build_env.py80880644editdlrm
cache.py122490644editdlrm
configuration.py141150644editdlrm
exceptions.py126370644editdlrm
exceptions.pyc187510644editdlrm
exceptions.pyo187070644editdlrm
locations.py67320644editdlrm
locations.pyc55590644editdlrm
locations.pyo53960644editdlrm
main.py4370644editdlrm
main.pyc7600644editdlrm
main.pyo7600644editdlrm
pyproject.py74000644editdlrm
pyproject.pyc46200644editdlrm
pyproject.pyo45570644editdlrm
self_outdated_check.py67790644editdlrm
self_outdated_check.pyc59320644editdlrm
self_outdated_check.pyo59320644editdlrm
wheel_builder.py95220644editdlrm
wheel_builder.pyc86560644editdlrm
wheel_builder.pyo84640644editdlrm
__init__.py5090644editdlrm
__init__.pyc8640644editdlrm
__init__.pyo8640644editdlrm
Edit: /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyo (18707B)
Ρς i“Rec@@s0dZddklZddklZlZlZddklZddk l Z e o­ddk l Z l Z lZlZlZddklZddklZlZdd klZdd klZdd klZeodd klZqdd klZndefd„ƒYZdefd„ƒYZ defd„ƒYZ!defd„ƒYZ"defd„ƒYZ#de!fd„ƒYZ$de!fd„ƒYZ%defd„ƒYZ&defd„ƒYZ'd efd!„ƒYZ(d"efd#„ƒYZ)d$efd%„ƒYZ*d&efd'„ƒYZ+d(e!fd)„ƒYZ,d*e!fd+„ƒYZ-d,e!fd-„ƒYZ.d.e!fd/„ƒYZ/d0e!fd1„ƒYZ0d2e0fd3„ƒYZ1d4e0fd5„ƒYZ2d6e0fd7„ƒYZ3d8e0fd9„ƒYZ4d:e0fd;„ƒYZ5d<e!fd=„ƒYZ6d>e fd?„ƒYZ7d@S(As"Exceptions used throughout packagei(tabsolute_import(tchaintgroupbytrepeat(t iteritems(tMYPY_CHECK_RUNNING(tAnytOptionaltListtDicttText(t Distribution(tResponsetRequest(tPY3(t configparser(tInstallRequirement(t_Hash(t_hashtPipErrorcB@seZdZRS(sBase pip exception(t__name__t __module__t__doc__(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRstConfigurationErrorcB@seZdZRS(s"General exception in configuration(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRstInstallationErrorcB@seZdZRS(s%General exception during installation(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR#stUninstallationErrorcB@seZdZRS(s'General exception during uninstallation(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR'stNoneMetadataErrorcB@s eZdZd„Zd„ZRS(s Raised when accessing "METADATA" or "PKG-INFO" metadata for a pip._vendor.pkg_resources.Distribution object and `dist.has_metadata('METADATA')` returns True but `dist.get_metadata('METADATA')` returns None (and similarly for "PKG-INFO"). cC@s||_||_dS(sͺ :param dist: A Distribution object. :param metadata_name: The name of the metadata being accessed (can be "METADATA" or "PKG-INFO"). N(tdistt metadata_name(tselfRR((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyt__init__4s cC@sdi|i|iƒS(Ns+None {} metadata found for distribution: {}(tformatRR(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyt__str__>s(RRRRR (((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR+s tDistributionNotFoundcB@seZdZRS(sCRaised when a distribution cannot be found to satisfy a requirement(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR!IstRequirementsFileParseErrorcB@seZdZRS(sDRaised when a general error occurs parsing a requirements file line.(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR"MstBestVersionAlreadyInstalledcB@seZdZRS(sNRaised when the most up-to-date version of a package is already installed.(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR#Qst BadCommandcB@seZdZRS(s0Raised when virtualenv or a command is not found(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR$Vst CommandErrorcB@seZdZRS(s7Raised when there is an error in command-line arguments(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR%ZstSubProcessErrorcB@seZdZRS(sPRaised when there is an error raised while executing a command in subprocess(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR&^stPreviousBuildDirErrorcB@seZdZRS(s:Raised when there's a previous conflicting build directory(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR'cstNetworkConnectionErrorcB@s&eZdZddd„Zd„ZRS(sHTTP connection errorcC@sy||_||_||_|idj o.|i o#t|dƒo|ii|_ntt|ƒi|||ƒdS(sc Initialize NetworkConnectionError with `request` and `response` objects. trequestN(tresponseR)t error_msgtNonethasattrtsuperR(R(RR+R*R)((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRjs   cC@s t|iƒS(N(tstrR+(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR ysN(RRRR,RR (((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR(gstInvalidWheelFilenamecB@seZdZRS(sInvalid wheel filename.(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR0~stUnsupportedWheelcB@seZdZRS(sUnsupported wheel.(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR1‚stMetadataInconsistentcB@s eZdZd„Zd„ZRS(sψBuilt 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 or user-supplied ``#egg=`` value. cC@s||_||_||_dS(N(tireqtfieldtbuilt(RR3R4R5((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRs  cC@sdi|i|i|iƒS(Ns/Requested {} has different {} in metadata: {!r}(RR3R4R5(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR “s(RRRRR (((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR2†s t HashErrorscB@s;eZdZd„Zd„Zd„Zd„Zd„ZRS(s:Multiple HashError instances rolled into one for reportingcC@s g|_dS(N(terrors(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRscC@s|ii|ƒdS(N(R7tappend(Rterror((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR8‘scC@s‚g}|iidd„ƒxJt|id„ƒD]3\}}|i|iƒ|id„|Dƒƒq2W|odi|ƒSdS(NtkeycS@s|iS((torder(te((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyt¨scS@s|iS((t __class__(R<((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR=©scs@sx|]}|iƒVqWdS(N(tbody(t.0R<((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pys «s s t(R7tsortRR8theadtextendtjoin(Rtlinestclst errors_of_cls((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR ₯s cC@s t|iƒS(N(tboolR7(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyt __nonzero__°scC@s |iƒS(N(RJ(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyt__bool__΄s(RRRRR8R RJRK(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR6šs    t HashErrorcB@s;eZdZdZdZdZd„Zd„Zd„Z RS(s” 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. RAcC@sdi|iƒƒS(s=Return 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(). s {}(Rt_requirement_name(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR?Νs cC@sdi|i|iƒƒS(Ns{} {}(RRCR?(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR ΪscC@s|iot|iƒSdS(s¨Return a description of the requirement that triggered me. This default implementation returns long description of the req, with line numbers sunknown package(treqR/(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRMήsN( RRRR,RNRCR;R?R RM(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRLΉs tVcsHashUnsupportedcB@seZdZdZdZRS(suA hash was provided for a version-control-system-based requirement, but we don't have a method for hashing those.islCan't verify hashes for these requirements because we don't have a way to hash version control repositories:(RRRR;RC(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyROιstDirectoryUrlHashUnsupportedcB@seZdZdZdZRS(suA hash was provided for a version-control-system-based requirement, but we don't have a method for hashing those.isUCan't verify hashes for these file:// requirements because they point to directories:(RRRR;RC(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRPςst HashMissingcB@s,eZdZdZdZd„Zd„ZRS(s2A hash was needed for a requirement but is absent.iswHashes 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.)cC@s ||_dS(sq :param gotten_hash: The hash of the (possibly malicious) archive we just downloaded N(t gotten_hash(RRR((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRscC@spddkl}d}|io3|iio |iint|iddƒ}ndi|pd||iƒS(Ni(t FAVORITE_HASHRNs {} --hash={}:{}sunknown package(tpip._internal.utils.hashesRSR,RNt original_linktgetattrRRR(RRStpackage((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR?s (RRRR;RCRR?(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRQϋs  t HashUnpinnedcB@seZdZdZdZRS(sPA requirement had a hash specified but was not pinned to a specific version.isaIn --require-hashes mode, all requirements must have their versions pinned with ==. These do not:(RRRR;RC(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRX"st HashMismatchcB@s5eZdZdZdZd„Zd„Zd„ZRS(sξ 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. isήTHESE 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.cC@s||_||_dS(sν :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 N(tallowedtgots(RRZR[((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR:s cC@sdi|iƒ|iƒƒS(Ns {}: {}(RRMt_hash_comparison(R((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR?Esc@sˆd„}g}xit|iƒD]X\}}||ƒ‰|i‡fd†|Dƒƒ|idi|i|iƒƒƒqWdi|ƒS(sE Return a comparison of actual and expected hash values. Example:: Expected sha256 abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde or 123451234512345123451234512345123451234512345 Got bcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdef cS@st|gtdƒƒS(Ns or(RR(t hash_name((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyt hash_then_orVsc3@s+x$|]}ditˆƒ|ƒVqWdS(s Expected {} {}N(Rtnext(R@R<(tprefix(sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pys _s s Got {} s (RRZRDR8RR[t hexdigestRE(RR^RFR]t expecteds((R`sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR\Js     (RRRR;RCRR?R\(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRY+s  tUnsupportedPythonVersioncB@seZdZRS(sMUnsupported python version according to Requires-Python package metadata.(RRR(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRcfst!ConfigurationFileCouldNotBeLoadedcB@s)eZdZdddd„Zd„ZRS(s=When there are errors while loading a configuration file scould not be loadedcC@s5tt|ƒi|ƒ||_||_||_dS(N(R.RdRtreasontfnameR9(RReRfR9((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRos  cC@sK|idj odi|iƒ}ndi|iƒ}di|i|ƒS(Ns in {}.s. {} sConfiguration file {}{}(RfR,RR9Re(Rt message_part((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyR vsN(RRRR,RR (((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pyRdksN(8Rt __future__Rt itertoolsRRRtpip._vendor.sixRtpip._internal.utils.typingRttypingRRRR R tpip._vendor.pkg_resourcesR tpip._vendor.requests.modelsR R Rtpip._vendor.six.movesRtpip._internal.req.req_installRthashlibRRt ExceptionRRRRRR!R"R#R$R%R&R'R(R0R1R2R6RLRORPRQRXRYRcRd(((sI/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/exceptions.pytsN(0  ' ;