◐ Shell
clean mode source ↗

Drop support for EOL Python 2.6 and 3.3 by hugovk · Pull Request #737 · gitpython-developers/GitPython

As a follow on from #540 (comment), this drops support for Python 2.6 and 3.3, both of which are EOL and no longer receiving security updates, or any updates, from the core Python team.

They're also little used. Here's the pip installs for GitPython from PyPI for last month:

python_version percent download_count
2.7 82.08% 466,982
3.6 10.07% 57,285
3.5 4.88% 27,754
3.4 2.58% 14,663
2.6 0.23% 1,333
3.7 0.10% 571
3.3 0.06% 321
3.8 0.00% 5

Source: pypinfo --start-date -39 --end-date -12 --percent --pip --markdown GitPython pyversion

Dropping Python 2.6 means some old compatibility and 2.6-specific code can be removed, and can also be updated to use more modern features of Python 2.7+, some of which has been applied here.

Python 3.3 is also dropped here. Whilst there's less benefit to be had from code changes (compared to 2.6), it's unsupported and used even less that 2.6 (in this project and in general), so there's no strong reason to keep it and we might as well free up some CI slots.