New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop Python 2.6 Support #1070
Comments
Thanks for the news on this, didn't know pip was doing it in the very next release (just some amorphous mid-term.) Time flies! See also pyinvoke/invoke#364, which was giving me some real deja vu before I noticed this was Paramiko instead Reran the numbers over there for Invoke and it's down to ~3.3% unknown-aka-probably-2.6 (from about 6% last Dec.) Still not as negligible as for Paramiko but another few percent lower and well under 5%. (Re: paramiko) I'm still not a big fan of changing install-time deps (especially something as big as interpreter version) without an X.0 release, but I may just do what I did with the cryptography shakeup and use the upcoming work for #387 as an excuse to claim its feature release (+ dropping 2.6) is 3.0 - even if the API still ends up being backwards compatible. |
Less pressing than 2.6, but for a feature release, you could also consider dropping CPython 3.3, which reaches end-of-life this week: |
Huh, good to know, thanks @hugovk. Off the cuff thoughts:
|
Dropping 3.3 brings fewer immediate code benefits than dropping 3.2 or 2.6. I guess the main thing would be removing it from CI tests and not worrying if new code runs on 3.3. Here's the list of what's new in 3.4, like pathlib. 3.3 stuff was being downloaded less than half a percent from PyPI 3.3 over a year ago. pypa/pip#3796 shows pip is deprecating 3.3 in the upcoming pip 10 release, and pip 11 won't support it. Coverage is dropping both 2.6 and 3.3 in the next major release, but they don't yet know when that will be. The numbers in the first comment above show 3.3 with less than 3% of 2.6's downloads, and 0.03% of 2.7's. The oldest supported LTS is Ubuntu Trusty on 3.4. |
Sphinx has already dropped Python 2.6 and 3.3 support, in Release 1.5 (released Dec 5, 2016). They're on 1.6.4 now. http://www.sphinx-doc.org/en/stable/changes.html |
Yea, I knew Sphinx dropped 2.6 but forgot they did 3.3 at the same time. Thanks for that & the other notes! May well do that, if we're gonna rip off one bandaid it may as well be TWO bandaids... |
@hugovk +1 for drop 3.3, openSUSE has 2.7 + 3.4 and 3.6 now |
Another +1 for dropping 3.3 since |
In terms of what it actually means to "drop" support for 2.6/3.3, as far as I can tell it's really just:
I'm about to land a patch that does all 3 of those things. If I've missed anything (it's...been a strange week) let me know, but I figure this is done enough to close now. |
OK, those commits are now in master as of 6978c7a |
As a side note, it's very nice to have 2 fewer cells in the matrix |
As an update, cryptography is dropping 2.6 support in the next release (which, based on our history, is anywhere from 4-12 weeks away). |
@bitprophet No, it wasn't not a bug in paramiko. In the 3.3 test environment it would try to install cryptography but fail, I believe because it couldn't find a 3.3 version. Don't worry it's not an issue; we'll be dropping 3.3 support as well. |
I'd like to propose that paramiko drop Python 2.6 support in its next release. One of paramiko's dependencies has already dropped Python 2.6 support (PyNaCl), pip is dropping 2.6 in its next release, cryptography has deprecated 2.6 (but has no timeline for removal due to downstream dependencies like paramiko), and download counts for paramiko's latest version show very little 2.6 usage.
In the last 2 months paramiko has had 3566507 downloads of version 2.2.1 (which was the latest version for almost all of that time). Here's what the download breakdown by Python version looks like for that:
If we assume that all nulls (which result from downloading via either a client that doesn't report data or a pip that is too old) are also Python 2.6 that leaves us with 27059 Python 2.6 downloads. This is 0.76% of the total downloads and would appear to demonstrate that removal of 2.6 support would be very low impact. (Additionally, users on 2.6 can always pin to an older version anyway)
The text was updated successfully, but these errors were encountered: