z0Wheel.get_formatted_file_tags.."s93c#h9s)sortedr)rs rget_formatted_file_tagszWheel.get_formatted_file_tags s9$..999cn tfdt|DS#t$r twxYw)aReturn the lowest index that one of the wheel's file_tag combinations achieves in the given list of supported tags. For example, if there are 8 supported tags and one of the file tags is first in the list, then return 0. :param tags: the PEP 425 tags to check the wheel against, in order with most preferred first. :raises ValueError: If none of the wheel's file tags match one of the supported tags. c3FK|]\}}|jvs|ywr)r)ritrs rrz*Wheel.support_index_min..2s Mdadnn9LMs!!)next enumerate StopIteration ValueErrorrtagss` rsupport_index_minzWheel.support_index_min$s4 MioMM M ,  s 4c@tfd|jDS)aReturn the priority of the most preferred tag that one of the wheel's file tag combinations achieves in the given list of supported tags using the given tag_to_priority mapping, where lower priorities are more-preferred. This is used in place of support_index_min in some cases in order to avoid an expensive linear scan of a large list of tags. :param tags: the PEP 425 tags to check the wheel against. :param tag_to_priority: a mapping from tag to priority of that tag, where lower is more preferred. :raises ValueError: If none of the wheel's file tags match one of the supported tags. c32K|]}|vs|ywr)rrtag_to_prioritys rrz0Wheel.find_most_preferred_tag..Gs" %(c_>TOC  s  )minr)rr+r0s `rfind_most_preferred_tagzWheel.find_most_preferred_tag6s#" ,0NN   r!c:|jj| S)zReturn whether the wheel is compatible with one of the given tags. :param tags: the PEP 425 tags to check the wheel against. )r isdisjointr*s r supportedzWheel.supportedKs >>,,T222r!N)r rreturnNone)r6z list[str])r+ list[Tag]r6int)r+r8r0zdict[Tag, int]r6r9)r+z Iterable[Tag]r6bool) __name__ __module__ __qualname____doc__rr r,r2r5r/r!rr r s6 %:$  0>  *3r!r N) r> __future__rcollections.abcrpip._vendor.packaging.tagsrpip._vendor.packaging.utilsrr rpip._internal.exceptionsr r/r!rrDs,#$*=9>3>3r!