I iAddlmZddlZddlZddlmZmZddlmZeje Z ejd d dZ ejdd d Zy) ) annotationsN) specifiersversion Requirement )maxsizec|ytj|}tjdj t t |}||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. T.)r SpecifierSetrparsejoinmapstr)requires_python version_inforequires_python_specifierpython_versions c/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.pycheck_requires_pythonr sH * 7 7 H]]388C\,B#CDN 6 66i'ct|S)z5Construct a packaging.Requirement object with cachingr) req_strings rget_requirementr$s z ""r)rz str | Nonerztuple[int, ...]returnbool)rrrr) __future__r functoolsloggingpip._vendor.packagingrr"pip._vendor.packaging.requirementsr getLogger__name__logger lru_cacherrrrr's"5:   8 $R 77/>7 7!7.U##$#r