<commit_before># This is a pip constraints file that is used to preserve Python 2.6
# compatibility (on Travis CI). Why I'm still doing that in 2018 is
# a good question, maybe simply to prove that I can :-P.

# flake8 3.0.0 drops explicit support for Python 2.6:
# http://flake8.pycqa.org/en/latest/release-notes/3.0.0.html
flake8 < 3.0.0 ; python_version < '2.7'

# flake8-docstrings 1.0.0 switches from pep257 to pydocstyle and I haven't been
# able to find a combination of versions of flake8-docstrings and pydocstyle
# that actually works on Python 2.6. Here's the changelog:
# https://gitlab.com/pycqa/flake8-docstrings/blob/master/HISTORY.rst
flake8-docstrings < 1.0.0 ; python_version < '2.7'

# pycparser < 2.19 drops Python 2.6 compatibility:
# https://github.com/eliben/pycparser/blob/master/CHANGES
pycparser < 2.19 ; python_version < '2.7'

# pydocstyle 4.0.0 drops Python 2 compatibility:
# http://www.pydocstyle.org/en/5.0.2/release_notes.html#july-6th-2019
pydocstyle < 4.0.0 ; python_version < '3.0'

# pyflakes 2.0.0 drops Python 2.6 compatibility:
# https://github.com/PyCQA/pyflakes/blob/master/NEWS.txt
pyflakes < 2.0.0 ; python_version < '2.7'

# pytest 3.3 drops Python 2.6 compatibility:
# https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
pytest < 3.3 ; python_version < '2.7'

# setuptools 45 drops Python 2.7 compatibility:
# https://setuptools.readthedocs.io/en/latest/history.html#v45-0-0
setuptools < 45
<commit_msg>Explicitly constrain pip (better safe than sorry)<commit_after># This is a pip constraints file that is used to preserve Python 2.6
# compatibility (on Travis CI). Why I'm still doing that in 2018 is
# a good question, maybe simply to prove that I can :-P.

# flake8 3.0.0 drops explicit support for Python 2.6:
# http://flake8.pycqa.org/en/latest/release-notes/3.0.0.html
flake8 < 3.0.0 ; python_version < '2.7'

# flake8-docstrings 1.0.0 switches from pep257 to pydocstyle and I haven't been
# able to find a combination of versions of flake8-docstrings and pydocstyle
# that actually works on Python 2.6. Here's the changelog:
# https://gitlab.com/pycqa/flake8-docstrings/blob/master/HISTORY.rst
flake8-docstrings < 1.0.0 ; python_version < '2.7'

# Constrain pip to the (very old but nonetheless) most recent release of pip
# that pip-accel and consequently py2deb are compatible with. An upcoming
# refactor is intended to finally resolve this awkward situation :-).
pip >= 7.0, < 7.2

# pycparser < 2.19 drops Python 2.6 compatibility:
# https://github.com/eliben/pycparser/blob/master/CHANGES
pycparser < 2.19 ; python_version < '2.7'

# pydocstyle 4.0.0 drops Python 2 compatibility:
# http://www.pydocstyle.org/en/5.0.2/release_notes.html#july-6th-2019
pydocstyle < 4.0.0 ; python_version < '3.0'

# pyflakes 2.0.0 drops Python 2.6 compatibility:
# https://github.com/PyCQA/pyflakes/blob/master/NEWS.txt
pyflakes < 2.0.0 ; python_version < '2.7'

# pytest 3.3 drops Python 2.6 compatibility:
# https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
pytest < 3.3 ; python_version < '2.7'

# setuptools 45 drops Python 2.7 compatibility:
# https://setuptools.readthedocs.io/en/latest/history.html#v45-0-0
setuptools < 45

{'fraction_non_alphanumeric': 0.1259328358208955, 'fraction_numerical': 0.06685323383084577, 'mean_word_length': 3.9264931087289434, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 4, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, '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': '5782422', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1177, 'n_words': 319}