You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When do we want to drop Python 3.3 support? #10161
Now that we're dropping 2.7 support, I've started to notice the points where supporting Python 3.3 requires extra work. For instance, 3.4 introduced pathlib and unittest.mock into the standard library, so we have a couple of dependencies which are only needed on 3.3.
It also means tests take longer, especially on Appveyor which only runs one build at a time.
Python 3.4 was released in March 2014, so it's not yet 2 years old. So I don't think we should drop 3.3 yet, but I wanted to open the discussion.
Stop support slightly after, cause their might still be bugfixes, and we usually release version with support for X.y after X.y got released, so all is delayed.
Stop supporting a bit before to give a signal to Python core that they can safely stop support as no new release will target X.y.
Also I don't see any reason, nor think we should stop support in between minor revisions.
Also I'm going to guess this is prompted by #10159. I did not meant to drop support for 3.3 in it, I'll put that on the jetlag.
👍 for EOL + ϵ as the time to start considering it. I'd like to keep the bar for dropping any kind of support as "maintaining support for X is causing a problem".
for EOL + ϵ as the time to start considering it. I'd like to keep the bar for dropping any kind of support as "maintaining support for X is causing a problem".
I think that's also a question of what do we call "support" we can perfectly go through:
Not officially supported in docs
Not tested
No active bugfixes, but PR welcome
actively incompatible.
Also "is causing a problem" can be quite subjective :-)
@Carreau good point about stages, I mainly refer to the last stage. I only meant that dropping support should only be done as part of "solving a problem", rather than a "deadline passed, breaking everything now" sort of thing. That could be a new feature or bugfix that requires 3.4 syntax, import machinery, etc. As time goes on, the bar for whether a problem is enough to trigger dropping support vs being worked around gets lower and lower. You are right that it's completely subjective, but I trust that we can make these completely subjective decisions together when the time comes.
One more point to drop 3.3 (and 3.4.. but I understand this one is harder to justify).
I'm working with async/await and they are syntax error in 3.3/3.4 which make testing hard as nose seem to refuse to not even try to parse file and crash, unless I get to crazy hacks like eval in current namespace.
Thanks for the reminder. I've opened #10833 to drop support. Rereading this, though, I realise I'm being more aggressive about it than Min suggested. I'm happy to wait until we're considering a change that would break 3.3 support, but I also think there's an argument for clearly signalling to users and contributors that we're targeting 3.4+.
Activity
willingc commentedon Jan 13, 2017
Perhaps match the end-of-life date that is published by CPython: 2017-09-29
Currently, CPython releases are typically end-of-life at 5 years from original release date.
Reference
takluyver commentedon Jan 13, 2017
That sounds like a reasonable date. Thanks!
Carreau commentedon Jan 14, 2017
Agreed, that's seam reasonable.
We have 2 ways of seeing that (in general):
Also I don't see any reason, nor think we should stop support in between minor revisions.
Also I'm going to guess this is prompted by #10159. I did not meant to drop support for 3.3 in it, I'll put that on the jetlag.
minrk commentedon Jan 16, 2017
👍 for EOL + ϵ as the time to start considering it. I'd like to keep the bar for dropping any kind of support as "maintaining support for X is causing a problem".
Carreau commentedon Jan 16, 2017
I think that's also a question of what do we call "support" we can perfectly go through:
Also "is causing a problem" can be quite subjective :-)
willingc commentedon Jan 16, 2017
Looks like numpy may have already dropped 3.3 support Travis build on recent IPython doc PR cc/@takluyver numpy changelog
Carreau commentedon Jan 17, 2017
Yep, just noticed that. Download ipython for last year/Python version:
2 23019 913552 197758 07311 891[EDIT] the SQL query include full year range, but the data for the full year may not be available
takluyver commentedon Jan 17, 2017
I've got the tests running on Travis again by only installing numpy on 3.4 and above.
minrk commentedon Jan 17, 2017
@Carreau good point about stages, I mainly refer to the last stage. I only meant that dropping support should only be done as part of "solving a problem", rather than a "deadline passed, breaking everything now" sort of thing. That could be a new feature or bugfix that requires 3.4 syntax, import machinery, etc. As time goes on, the bar for whether a problem is enough to trigger dropping support vs being worked around gets lower and lower. You are right that it's completely subjective, but I trust that we can make these completely subjective decisions together when the time comes.
Carreau commentedon Mar 13, 2017
One more point to drop 3.3 (and 3.4.. but I understand this one is harder to justify).
I'm working with
async/awaitand they are syntax error in 3.3/3.4 which make testing hard as nose seem to refuse to not even try to parse file and crash, unless I get to crazy hacks likeevalin current namespace.hugovk commentedon Sep 26, 2017
CPython 3.3 reaches end-of-life this week: 2016-02-27.
https://en.wikipedia.org/wiki/CPython#Version_history
takluyver commentedon Sep 26, 2017
Thanks for the reminder. I've opened #10833 to drop support. Rereading this, though, I realise I'm being more aggressive about it than Min suggested. I'm happy to wait until we're considering a change that would break 3.3 support, but I also think there's an argument for clearly signalling to users and contributors that we're targeting 3.4+.
willingc commentedon Sep 26, 2017
I think most are on 3.4 or higher. Thanks @takluyver.
hugovk commentedon Oct 21, 2017
Here's the pip installs for ipython from PyPI for the last month, confirming over 99% are on 2.7 or 3.4+:
hugovk commentedon Apr 2, 2018
#10833 has been merged. Can this be closed?