$87 GRAYBYTE WORDPRESS FILE MANAGER $50

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.217.100
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/python3.8/site-packages/pip/_internal/__pycache__/

HOME
Current File : /lib/python3.8/site-packages/pip/_internal/__pycache__//exceptions.cpython-38.pyc
U

��.e(�@s�dZddlmZddlmZmZmZddlmZddl	m
Z
e
rdddlmZddl
mZddlmZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZGd%d&�d&e�Z Gd'd(�d(e �Z!Gd)d*�d*e �Z"Gd+d,�d,e �Z#Gd-d.�d.e �Z$Gd/d0�d0e �Z%Gd1d2�d2e�Z&Gd3d4�d4e�Z'd5S)6z"Exceptions used throughout package�)�absolute_import)�chain�groupby�repeat)�	iteritems)�MYPY_CHECK_RUNNING)�Optional)�Distribution)�InstallRequirementc@seZdZdZdS)�PipErrorzBase pip exceptionN��__name__�
__module__�__qualname__�__doc__�rr�</usr/lib/python3.8/site-packages/pip/_internal/exceptions.pyrsrc@seZdZdZdS)�ConfigurationErrorz"General exception in configurationNrrrrrrsrc@seZdZdZdS)�InstallationErrorz%General exception during installationNrrrrrrsrc@seZdZdZdS)�UninstallationErrorz'General exception during uninstallationNrrrrrr src@s eZdZdZdd�Zdd�ZdS)�NoneMetadataErrora
    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").
    cCs||_||_dS)z�
        :param dist: A Distribution object.
        :param metadata_name: The name of the metadata being accessed
            (can be "METADATA" or "PKG-INFO").
        N)�dist�
metadata_name)�selfrrrrr�__init__-szNoneMetadataError.__init__cCsd�|j|j�S)Nz+None {} metadata found for distribution: {})�formatrr�rrrr�__str__7s
��zNoneMetadataError.__str__N)r
rrrrrrrrrr$s
rc@seZdZdZdS)�DistributionNotFoundzCRaised when a distribution cannot be found to satisfy a requirementNrrrrrrBsrc@seZdZdZdS)�RequirementsFileParseErrorzDRaised when a general error occurs parsing a requirements file line.NrrrrrrFsrc@seZdZdZdS)�BestVersionAlreadyInstalledzNRaised when the most up-to-date version of a package is already
    installed.Nrrrrrr Jsr c@seZdZdZdS)�
BadCommandz0Raised when virtualenv or a command is not foundNrrrrrr!Osr!c@seZdZdZdS)�CommandErrorz7Raised when there is an error in command-line argumentsNrrrrrr"Ssr"c@seZdZdZdS)�PreviousBuildDirErrorz:Raised when there's a previous conflicting build directoryNrrrrrr#Wsr#c@seZdZdZdS)�InvalidWheelFilenamezInvalid wheel filename.Nrrrrrr$[sr$c@seZdZdZdS)�UnsupportedWheelzUnsupported wheel.Nrrrrrr%_sr%c@s8eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�ZdS)
�
HashErrorsz:Multiple HashError instances rolled into one for reportingcCs
g|_dS�N)�errorsrrrrrfszHashErrors.__init__cCs|j�|�dSr')r(�append)r�errorrrrr)iszHashErrors.appendcCsbg}|jjdd�d�t|jdd��D](\}}|�|j�|�dd�|D��q&|r^d�|�SdS)NcSs|jSr')�order��errr�<lambda>n�z$HashErrors.__str__.<locals>.<lambda>)�keycSs|jSr'��	__class__r,rrrr.or/css|]}|��VqdSr')�body��.0r-rrr�	<genexpr>qsz%HashErrors.__str__.<locals>.<genexpr>�
)r(�sortrr)�head�extend�join)r�lines�clsZ
errors_of_clsrrrrlszHashErrors.__str__cCs
t|j�Sr')�boolr(rrrr�__nonzero__uszHashErrors.__nonzero__cCs|��Sr')r?rrrr�__bool__xszHashErrors.__bool__N)	r
rrrrr)rr?r@rrrrr&cs	r&c@s0eZdZdZdZdZdd�Zdd�Zdd	�ZdS)
�	HashErrora�
    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.

    N�cCsd|��S)a)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
            populate_link() having already been called

        z    %s)�_requirement_namerrrrr3�s
zHashError.bodycCsd|j|��fS)Nz%s
%s)r9r3rrrrr�szHashError.__str__cCs|jrt|j�SdS)z�Return a description of the requirement that triggered me.

        This default implementation returns long description of the req, with
        line numbers

        �unknown package)�req�strrrrrrC�szHashError._requirement_name)	r
rrrrEr9r3rrCrrrrrA|srAc@seZdZdZdZdZdS)�VcsHashUnsupported�uA 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:N�r
rrrr+r9rrrrrG�srGc@seZdZdZdZdZdS)�DirectoryUrlHashUnsupportedrH�zUCan't verify hashes for these file:// requirements because they point to directories:NrIrrrrrJ�srJc@s(eZdZdZdZdZdd�Zdd�ZdS)	�HashMissingz2A 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.)cCs
||_dS)zq
        :param gotten_hash: The hash of the (possibly malicious) archive we
            just downloaded
        N)�gotten_hash)rrNrrrr�szHashMissing.__init__cCsHddlm}d}|jr4|jjr&|jjnt|jdd�}d|p<d||jfS)Nr)�
FAVORITE_HASHrEz    %s --hash=%s:%srD)Zpip._internal.utils.hashesrOrEZ
original_link�getattrrN)rrO�packagerrrr3�s��zHashMissing.bodyN)r
rrrr+r9rr3rrrrrL�s
rLc@seZdZdZdZdZdS)�HashUnpinnedzPA 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:NrIrrrrrR�srRc@s0eZdZdZdZdZdd�Zdd�Zdd	�Zd
S)�HashMismatchz�
    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.

    �z�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.cCs||_||_dS)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
        N)�allowed�gots)rrVrWrrrr�szHashMismatch.__init__cCsd|��|��fS)Nz
    %s:
%s)rC�_hash_comparisonrrrrr3s�zHashMismatch.bodycsbdd�}g}t|j�D]@\}}||��|��fdd�|D��|�d|j|���qd�|�S)aE
        Return a comparison of actual and expected hash values.

        Example::

               Expected sha256 abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde
                            or 123451234512345123451234512345123451234512345
                    Got        bcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdef

        cSst|gtd��S)Nz    or)rr)�	hash_namerrr�hash_then_orsz3HashMismatch._hash_comparison.<locals>.hash_then_orc3s|]}dt��|fVqdS)z        Expected %s %sN)�nextr4��prefixrrr6s�z0HashMismatch._hash_comparison.<locals>.<genexpr>z             Got        %s
r7)rrVr:r)rWZ	hexdigestr;)rrZr<rYZ	expectedsrr\rrXs��zHashMismatch._hash_comparisonN)	r
rrrr+r9rr3rXrrrrrT�s
rTc@seZdZdZdS)�UnsupportedPythonVersionzMUnsupported python version according to Requires-Python package
    metadata.Nrrrrrr^sr^cs*eZdZdZd�fdd�	Zdd�Z�ZS)	�!ConfigurationFileCouldNotBeLoadedz=When there are errors while loading a configuration file
    �could not be loadedNcs&tt|��|�||_||_||_dSr')�superr_r�reason�fnamer*)rrbrcr*r1rrr(sz*ConfigurationFileCouldNotBeLoaded.__init__cCsB|jdk	rd�|j�}n|jdk	s&t�d�|jj�}d�|j|�S)Nz in {}.z.
{}
zConfiguration file {}{})rcrr*�AssertionError�messagerb)rZmessage_partrrrr.s

z)ConfigurationFileCouldNotBeLoaded.__str__)r`NN)r
rrrrr�
__classcell__rrr1rr_$sr_N)(rZ
__future__r�	itertoolsrrrZpip._vendor.sixrZpip._internal.utils.typingr�typingrZpip._vendor.pkg_resourcesr	Zpip._internal.req.req_installr
�	Exceptionrrrrrrrr r!r"r#r$r%r&rArGrJrLrRrTr^r_rrrr�<module>s<,		%	7


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.19 AM
root / root
0755
__init__.cpython-38.opt-1.pyc
0.203 KB
17 Oct 2023 6.30 PM
root / root
0644
__init__.cpython-38.pyc
0.203 KB
17 Oct 2023 6.30 PM
root / root
0644
build_env.cpython-38.opt-1.pyc
7.264 KB
17 Oct 2023 6.30 PM
root / root
0644
build_env.cpython-38.pyc
7.293 KB
17 Oct 2023 6.30 PM
root / root
0644
cache.cpython-38.opt-1.pyc
6.994 KB
17 Oct 2023 6.30 PM
root / root
0644
cache.cpython-38.pyc
7.036 KB
17 Oct 2023 6.30 PM
root / root
0644
collector.cpython-38.opt-1.pyc
13.768 KB
17 Oct 2023 6.30 PM
root / root
0644
collector.cpython-38.pyc
13.768 KB
17 Oct 2023 6.30 PM
root / root
0644
configuration.cpython-38.opt-1.pyc
10.31 KB
17 Oct 2023 6.30 PM
root / root
0644
configuration.cpython-38.pyc
10.396 KB
17 Oct 2023 6.30 PM
root / root
0644
download.cpython-38.opt-1.pyc
11.149 KB
17 Oct 2023 6.30 PM
root / root
0644
download.cpython-38.pyc
11.179 KB
17 Oct 2023 6.30 PM
root / root
0644
exceptions.cpython-38.opt-1.pyc
12.158 KB
17 Oct 2023 6.30 PM
root / root
0644
exceptions.cpython-38.pyc
12.189 KB
17 Oct 2023 6.30 PM
root / root
0644
index.cpython-38.opt-1.pyc
24.662 KB
17 Oct 2023 6.30 PM
root / root
0644
index.cpython-38.pyc
24.726 KB
17 Oct 2023 6.30 PM
root / root
0644
legacy_resolve.cpython-38.opt-1.pyc
10.09 KB
17 Oct 2023 6.30 PM
root / root
0644
legacy_resolve.cpython-38.pyc
10.254 KB
17 Oct 2023 6.30 PM
root / root
0644
locations.cpython-38.opt-1.pyc
2.99 KB
17 Oct 2023 6.30 PM
root / root
0644
locations.cpython-38.pyc
3.109 KB
17 Oct 2023 6.30 PM
root / root
0644
main.cpython-38.opt-1.pyc
1.243 KB
17 Oct 2023 6.30 PM
root / root
0644
main.cpython-38.pyc
1.243 KB
17 Oct 2023 6.30 PM
root / root
0644
pep425tags.cpython-38.opt-1.pyc
9.557 KB
17 Oct 2023 6.30 PM
root / root
0644
pep425tags.cpython-38.pyc
9.557 KB
17 Oct 2023 6.30 PM
root / root
0644
pyproject.cpython-38.opt-1.pyc
3.061 KB
17 Oct 2023 6.30 PM
root / root
0644
pyproject.cpython-38.pyc
3.105 KB
17 Oct 2023 6.30 PM
root / root
0644
self_outdated_check.cpython-38.opt-1.pyc
5.393 KB
17 Oct 2023 6.30 PM
root / root
0644
self_outdated_check.cpython-38.pyc
5.393 KB
17 Oct 2023 6.30 PM
root / root
0644
wheel.cpython-38.opt-1.pyc
27.185 KB
17 Oct 2023 6.30 PM
root / root
0644
wheel.cpython-38.pyc
27.414 KB
17 Oct 2023 6.30 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF