| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
�
T8�hA � �� � 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 �?C:\Python312\Lib\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'