HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-39.pyc
a

?�f
�@s�ddlmZddlmZddlmZddlmZddlm	Z	e	r�ddl
mZmZm
Z
mZddlmZddlmZee
d	e
efZd
d�ZGdd
�d
e�ZGdd�de�ZGdd	�d	e�ZdS)�)�SpecifierSet��canonicalize_name)�InstallRequirement)�Hashes)�MYPY_CHECK_RUNNING)�	FrozenSet�Iterable�Optional�Tuple)�_BaseVersion)�Link�	CandidatecCs,|s|Stdd�|D��}d�|d�|��S)Ncss|]}t|�VqdS�Nr)�.0�e�r�L/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py�	<genexpr>�zformat_name.<locals>.<genexpr>z{}[{}]�,)�sorted�format�join)ZprojectZextrasZcanonical_extrasrrr�format_namesrc@sDeZdZdd�Zedd��Zedd��Zdd�Zd	d
�Zdd�Z	d
S)�
ConstraintcCs||_||_dSr)�	specifier�hashes)�selfrrrrr�__init__szConstraint.__init__cCstt�t��Sr)rrr)�clsrrr�empty#szConstraint.emptycCst|j|jdd��S�NF)Ztrust_internet)rrr)r Zireqrrr�	from_ireq(szConstraint.from_ireqcCst|j�pt|j�Sr)�boolrr�rrrr�__nonzero__-szConstraint.__nonzero__cCs|��Sr)r&r%rrr�__bool__1szConstraint.__bool__cCs6t|t�stS|j|j@}|j|jdd�@}t||�Sr")�
isinstancer�NotImplementedrrr)r�otherrrrrr�__and__5s

zConstraint.__and__N)
�__name__�
__module__�__qualname__r�classmethodr!r#r&r'r+rrrrrs

rc@s0eZdZedd��Zdd�Zdd�Zdd�Zd	S)
�RequirementcCstd��dS�NzSubclass should override��NotImplementedErrorr%rrr�name?szRequirement.namecCsdS)NFr)r�	candidaterrr�is_satisfied_byDszRequirement.is_satisfied_bycCstd��dSr1r2r%rrr�get_candidate_lookupHsz Requirement.get_candidate_lookupcCstd��dSr1r2r%rrr�format_for_errorLszRequirement.format_for_errorN)r,r-r.�propertyr4r6r7r8rrrrr0>s

r0c@s`eZdZedd��Zedd��Zedd��Zedd��Zed	d
��Zdd�Z	d
d�Z
dd�ZdS)rcCstd��dS�NzOverride in subclassr2r%rrrr4RszCandidate.namecCstd��dSr:r2r%rrr�versionWszCandidate.versioncCstd��dSr:r2r%rrr�is_installed\szCandidate.is_installedcCstd��dSr:r2r%rrr�is_editableaszCandidate.is_editablecCstd��dSr:r2r%rrr�source_linkfszCandidate.source_linkcCstd��dSr:r2)rZ
with_requiresrrr�iter_dependencieskszCandidate.iter_dependenciescCstd��dSr:r2r%rrr�get_install_requirementosz!Candidate.get_install_requirementcCstd��dSr1r2r%rrrr8sszCandidate.format_for_errorN)r,r-r.r9r4r;r<r=r>r?r@r8rrrrrQs




N)Z pip._vendor.packaging.specifiersrZpip._vendor.packaging.utilsrZpip._internal.req.req_installrZpip._internal.utils.hashesrZpip._internal.utils.typingr�typingrr	r
rZpip._vendor.packaging.versionrZpip._internal.models.linkr
ZCandidateLookupr�objectrr0rrrrr�<module>s"��!