Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
utils
/
__pycache__
[ HOME ]
Exec
Submit
File Name : packaging.cpython-312.pyc
� p�/iA � �� � 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'