- Notifications
You must be signed in to change notification settings - Fork673
Deprecate older Python versions?#1662
-
Should we deprecate older Python versions? We have the 3.0 release coming up. Should we deprecate Python 3.6 support? Python 3.6.0 was released on 2016-12-23:https://www.python.org/downloads/release/python-360/ One benefit is that Python 3.7 supports: |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 3 comments 5 replies
-
@nejch What do you think? |
BetaWas this translation helpful?Give feedback.
All reactions
-
I'm also eager to start using new feature 😁 I would maybe keep it at least until its EOL (https://endoflife.date/python, not sure if it's the most accurate prediction buthttps://www.python.org/dev/peps/pep-0494/#lifespan suggests something like that). Do you mean deprecate and just emit a warning or drop completely? As a library I'd keep it a little conservative, I know Ansible can be like that and the community.general collection depends on this for the gitlab modules. But maybe that shouldn't stop us from adding |
BetaWas this translation helpful?Give feedback.
All reactions
-
I guess by "deprecate" I mean stop supporting. As in drop-completely. Would make sense to me for the 3.0 release. The 2.X release would still have support for Python 3.6. Looks like Python 3.6 is End-of-Life in less than two months... To me that is pretty much EOL to me. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Another benefit of moving to Python 3.7 as a minimum is we can start using dataclasses |
BetaWas this translation helpful?Give feedback.
All reactions
-
Good point. We could maybe do it in December with 3.0.0. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Yeah that makes sense. Python 3.6 is officially supported until the 23th of December, according tohttps://endoflife.date/python |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Cool. So if we have made a decision to drop Python 3.6 support for the 3.0.0 release, we probably could start the work now in the What do you think? |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I've created a PR to drop support for Python 3.6. And require Python 3.7 or newer. |
BetaWas this translation helpful?Give feedback.