📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-28 07:03:43
📂
/ (Root)
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
index
/
__pycache__
📍 /opt/hc_python/lib/python3.12/site-packages/pip/_internal/index/__pycache__
🔄 Refresh
✏️
Editing: package_finder.cpython-312.pyc
Read Only
� i�*j�� � � � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m Z ddlmZ ddl mZmZmZ ddlmZ ddlmZ dd lmZmZ dd lmZmZ ddlmZ ddlmZmZm Z m!Z!m"Z" dd l#m$Z$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0m1Z1 ddl2m3Z3 ddl4m5Z5 ddl6m7Z7 ddl8m9Z9 ddl:m;Z; ddl<m=Z= ddl>m?Z? ddl@mAZA ddlBmCZC ddlDmEZE ddlFmGZG erddlHmIZI g d �ZJ e;eK� ZLeeMd! eMeNeOf f ZPeMeNeNeNeeeN ePf ZQ d4 d5d"�ZR G d#� d$ej� � ZT G d%� d&� ZU d6d'�ZVe G d(� d)� � ZW ed*�+� G d,� d-� � ZX G d.� d/� ZY G d0� d1� ZZd7d2�Z[d8d3�Z\y)9z!Routines related to PyPI, indexes� )�annotationsN)�Iterable)� dataclass)� TYPE_CHECKING�Optional�Union)� specifiers)�Tag)�NormalizedName�canonicalize_name)�InvalidVersion�_BaseVersion)�parse)�BestVersionAlreadyInstalled�DistributionNotFound�InstallationError�InvalidWheelFilename�UnsupportedWheel)� LinkCollector�parse_links)�select_backend)�InstallationCandidate)� FormatControl)�Link)�ReleaseControl)�SearchScope)�SelectionPreferences)�TargetPython)�Wheel)�InstallRequirement)� getLogger)�WHEEL_EXTENSION)�Hashes)� indent_log)�build_netloc)�check_requires_python)�SUPPORTED_EXTENSIONS)� TypeGuard)r �BestCandidateResult� PackageFinder� c �x � t | j |�� }|sfdj t t |� � }|s#t j d|| j | � yt j d|| j | � y# t j $ r$ t j d| j | � Y yw xY w)aa Return whether the given Python version is compatible with a link's "Requires-Python" value. :param version_info: A 3-tuple of ints representing the Python major-minor-micro version to check. :param ignore_requires_python: Whether to ignore the "Requires-Python" value if the given Python version isn't compatible. )�version_info�.z4Link requires a different Python (%s not in: %r): %sFzBIgnoring failed Requires-Python check (%s not in: %r) for link: %sz2Ignoring invalid Requires-Python (%r) for link: %sT) r&