2bi`SSKrSSKJrJrJrJr SSKJr SSKJ r J r SSK J r "SS5r g)N)ListOptionalSetTuple)Tag) get_supportedversion_info_to_nodot)normalize_version_infoc \rSrSrSr/SQrSS\\\S\\ \ S4S\\\S \\S S4 S jjr S \4S jr S \\ 4S jrS \\ 4SjrSrg) TargetPython zl Encapsulates the properties of a Python interpreter one is targeting for a package install, download, etc. )_given_py_version_infoabisimplementation platforms py_versionpy_version_info _valid_tags_valid_tags_setNrr.rrreturncX lUc[RSSnO [U5nSR [ [ USS55nX0lX@lXl XPl X l SUl SUl g)a :param platforms: A list of strings or None. If None, searches for packages that are supported by the current system. Otherwise, will find packages that can be built on the platforms passed in. These packages will only be downloaded for distribution: they will not be built locally. :param py_version_info: An optional tuple of ints representing the Python version information to use (e.g. `sys.version_info[:3]`). This can have length 1, 2, or 3 when provided. :param abis: A list of strings or None. This is passed to compatibility_tags.py's get_supported() function as is. :param implementation: A string or None. This is passed to compatibility_tags.py's get_supported() function as is. N.)rsys version_infor joinmapstrrrrrrrr)selfrrrrrs ڔ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/models/target_python.py__init__TargetPython.__init__su,'6#  "!..r2O4_EOXXc#r':;<  ,"$.1537cSnURb"SRSUR55nSUR4SU4SUR4SUR4/nSRS U55$) z4 Format the given, non-None attributes for display. Nrc38# UHn[U5v M g7f)N)r).0parts r! ,TargetPython.format_given..Ks'&AdD &Asrrrr c3@# UHupUcM USU<3v M g7f)N=)r'keyvalues r!r)r*Us% 1;:3u se1UI s )rrrrr)r display_version key_valuess r! format_givenTargetPython.format_givenEs  & & 2!hh'&*&A&A'O $.. ) _ - TYY  t22 3  xx 1;   r$cURcMURnUcSnO [U5n[UURUR UR S9nX0lUR$)z Return the supported PEP 425 tags to check wheel candidates against. The tags are returned in order of preference (most preferred first). N)versionrrimpl)rrr rrrr)r rr6tagss r!get_sorted_tagsTargetPython.get_sorted_tagsYsj    ##99O&/@ ..YY(( D $ r$cpURc[UR55UlUR$)z\Exactly the same as get_sorted_tags, but returns a set. This is important for performance. )rsetr9)r s r!get_unsorted_tagsTargetPython.get_unsorted_tagsrs2    '#&t';';'=#>D ###r$)rrrrrrrr)NNNN)__name__ __module__ __qualname____firstlineno____doc__ __slots__rrrrintr"r3rr9rr=__static_attributes__r.r$r!r r s I*.59$((, '8DI&'8"%S/2'8tCy! '8 ! '8  '8R c ( c 2$3s8$r$r )rtypingrrrrpip._vendor.packaging.tagsr&pip._internal.utils.compatibility_tagsrr pip._internal.utils.miscr r r.r$r!rKs# --*W;p$p$r$