ó
    T=ŒjA  ã                  óÌ   • S SK Jr  S SKrS SKrS SKJrJr  S SKJr  \R                  " \
5      r\R                  " SS9      S
S j5       r\R                  " SS9SS	 j5       rg)é    )ÚannotationsN)Ú
specifiersÚversion©ÚRequirementé    )Úmaxsizec                ó¤   • U c  g[         R                  " U 5      n[        R                  " SR	                  [        [        U5      5      5      nX2;   $ )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       Úa/Users/stevendouglas/BidBrain/.venv/lib/python3.13/site-packages/pip/_internal/utils/packaging.pyÚcheck_requires_pythonr      sE   € ð ÑàÜ *× 7Ò 7¸Ó HÐä—]’] 3§8¡8¬C´°\Ó,BÓ#CÓD€NØÑ6Ð6ó    i'  c                ó   • [        U 5      $ )z5Construct a packaging.Requirement object with cachingr   )Ú
req_strings    r   Úget_requirementr   $   s   € ô �zÓ"Ð"r   )r   z
str | Noner   ztuple[int, ...]ÚreturnÚbool)r   r   r   r   )Ú
__future__r   Ú	functoolsÚloggingÚpip._vendor.packagingr   r   Ú"pip._vendor.packaging.requirementsr   Ú	getLoggerÚ__name__ÚloggerÚ	lru_cacher   r   © r   r   Ú<module>r'      sz   ðÝ "ã Û ç 5Ý :à	×	Ò	˜8Ó	$€ð ×Ò˜RÑ ð7Øð7Ø/>ð7à	ó7ó !ð7ð. ×Ò˜UÑ#ó#ó $ñ#r   