Drop support for EOL Python 2.6, 3.2 and 3.3 #24
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary: pathspec used to support Python 2.6 because it's a dependency of yamllint, which in turn is a dependency Ansible, which supported Python 2.6. Ansible has now dropped 2.6, so yamllint and pathspec may also drop it.
Python 2.6, 3.2 and 3.3 are EOL and no longer receiving security updates (or any updates) from the core Python team.
Source: https://en.wikipedia.org/wiki/CPython#Version_history
They're also little used. Here's the pip installs for pathspec from PyPI for last month:
Source:
pypistats python_minor --last-month pathspec
Ansible 2.7.0 was released in October 2018 which drops Python 2.6.
https://github.com/ansible/ansible/blob/stable-2.7/changelogs/CHANGELOG-v2.7.rst#v2-7-0
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.7.html#python-compatibility
This PR:
pyupgrade
python_requires
to help pip