📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-27 08:25:42
📂
/
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
utils
/
__pycache__
✏️
Editing: packaging.cpython-312.pyc
� Jr*jA � �� � d dl mZ d dlZd dlZd dlmZmZ d dlmZ ej e � Z ej d�� d d�� Z ej d�� dd �� Zy)� )�annotationsN)� specifiers�version��Requirement� )�maxsizec � � | �yt j | � }t j dj t t |� � � }||v S )a� Check if the given Python version matches a "Requires-Python" specifier. :param version_info: A 3-tuple of ints representing a Python major-minor-micro version to check (e.g. `sys.version_info[:3]`). :return: `True` if the given Python version satisfies the requirement. Otherwise, return `False`. :raises InvalidSpecifier: If `requires_python` has an invalid format. T�.)r �SpecifierSetr �parse�join�map�str)�requires_python�version_info�requires_python_specifier�python_versions �L/opt/hc_python/lib/python3.12/site-packages/pip/_internal/utils/packaging.py�check_requires_pythonr sH � � ��� *� 7� 7�� H���]�]�3�8�8�C��\�,B�#C�D�N��6�6�6� i'