Drop support for EOL Python 2.6 and 3.3#737
Conversation
|
Thank you so much for this massive cleanup! I will have a closer look in the following days, and invite @yarikoptic and @ankostis to do the same. What do you all think how this change should be released? In theory it would have to be a major version jump, as we might break some people. On the other hand, the API didn't change so the release might be confusing and repelling to everyone else. From that point of view, it might not be more than a patch release. |
Sorry, something went wrong.
|
You're welcome, and thanks for the maintenance! Some projects bump major versions to indicate dropping support, some don't. If following semver, it depends if you consider it a backwards incompatible changes:
https://semver.org/#spec-item-8 I probably would bump it, but don't have strong opinions. It's good 2.1.8 was already released with |
Sorry, something went wrong.
Byron
left a comment
There was a problem hiding this comment.
Looks good to me!
Interesting to see all the new syntactic sugar that was added since the last time I actively wrote python code.
Sorry, something went wrong.
|
And since we don't change the public API in that sense, I think a major version bump shouldn't be required. Also I would rather upset those behind ~1000 downloads, rather than confusing (or loosing) those behind the 500k downloads. I will wait a week for more commends and/or opinions to come in, and if there are no objects, will release a new version next weekend. |
Sorry, something went wrong.
yarikoptic
left a comment
There was a problem hiding this comment.
cute! just 2 minor comments/questions ;)
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #737 +/- ##
==========================================
- Coverage 94.66% 94.66% -0.01%
==========================================
Files 60 59 -1
Lines 9338 9289 -49
==========================================
- Hits 8840 8793 -47
+ Misses 498 496 -2
Continue to review full report at Codecov.
|
Sorry, something went wrong.
Drop support for EOL Python 2.6 and 3.3
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:
Source:
pypinfo --start-date -39 --end-date -12 --percent --pip --markdown GitPython pyversionDropping 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.