HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-311.pyc
�

�miA����ddlmZddlZddlZddlmZmZddlmZej	e
��Zejd���dd
���Z
ejd���dd���ZdS)�)�annotationsN)�
specifiers�version��Requirement� )�maxsize�requires_python�
str | None�version_info�tuple[int, ...]�return�boolc��|�dStj|��}tjd�tt|������}||vS)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.
    NT�.)r�SpecifierSetr�parse�join�map�str)r
r�requires_python_specifier�python_versions    �?D:\Python311\Lib\site-packages\pip/_internal/utils/packaging.py�check_requires_pythonrsS�����t� *� 7�� H� H���]�3�8�8�C��\�,B�,B�#C�#C�D�D�N��6�6�6�i'�
req_stringrrc� �t|��S)z5Construct a packaging.Requirement object with cachingr)rs r�get_requirementr$s���z�"�"�"r)r
rrr
rr)rrrr)�
__future__r�	functools�logging�pip._vendor.packagingrr�"pip._vendor.packaging.requirementsr�	getLogger�__name__�logger�	lru_cacherr�rr�<module>r)s���"�"�"�"�"�"���������5�5�5�5�5�5�5�5�:�:�:�:�:�:�	��	�8�	$�	$�����R� � � �7�7�7�!� �7�.���U�#�#�#�#�#�#�$�#�#�#�#r