OwlCyberSecurity - MANAGER
Edit File: packaging.cpython-311.pyc
� p�FhC � � � d dl Z d dlZd dlmZmZ d dlmZmZ d dlm Z ej e� � Z e j d�� � dee deed f d efd�� � Z e j d�� � d ed e fd�� � ZdS )� N)�Optional�Tuple)� specifiers�version��Requirement� )�maxsize�requires_python�version_info.�returnc � � | �dS t j | � � }t j d� 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. NT�.)r �SpecifierSetr �parse�join�map�str)r r �requires_python_specifier�python_versions �}/builddir/build/BUILD/imunify360-venv-2.5.3/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/utils/packaging.py�check_requires_pythonr sQ � � ���t� *� 7�� H� H���]�3�8�8�C��\�,B�,B�#C�#C�D�D�N��6�6�6� i'