<commit_before>from pip import __version__ as pip_version
from pip._vendor.pkg_resources import Requirement
from pkg_resources import parse_version

PIP_9_OR_NEWER = (parse_version(pip_version) >= parse_version('9.0'))
PIP_10_OR_NEWER = (parse_version(pip_version) >= parse_version('10.0'))

if PIP_10_OR_NEWER:
    from pip._internal.cache import WheelCache<commit_msg>Use pkg_resources from Pip<commit_after>from pip import __version__ as pip_version
from pip._vendor.pkg_resources import Requirement, parse_version

PIP_9_OR_NEWER = (parse_version(pip_version) >= parse_version('9.0'))
PIP_10_OR_NEWER = (parse_version(pip_version) >= parse_version('10.0'))

if PIP_10_OR_NEWER:
    from pip._internal.cache import WheelCache
{'fraction_non_alphanumeric': 0.08928571428571429, 'fraction_numerical': 0.027472527472527472, 'mean_word_length': 7.783132530120482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2808005', 'n_tokens_mistral': 260, 'n_tokens_neox': 243, 'n_words': 51}