-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Deprecate Python 3.6 #4997
Comments
@finswimmer WIP: P.S. Can I have my username automatically approved for CI runs? |
@finswimmer Should we keep this issue open for python-poetry/poetry-core#263 and python-poetry/install.python-poetry.org#11? poetry-core's issue tracker redirects back to poetry's: https://github.com/python-poetry/poetry-core/issues/new/choose |
Chiming in late, but are there any technical reasons for not supporting Python 3.6 any longer? Red Hat Enterprise Linux 8 (RHEL8) and all it's clones (like Alma Linux 8, Rocky Linux 8) use Python 3.6 and will be supported until May 2029 (and therefore will get fixes / backports from Red Hat), and as this is a really widespread Linux distribution this change does affect millions of servers. |
@markus-oberhumer Good point
above: 15.1.1.1. Python 3 is the default Python implementation in RHEL 8 I think it is worth making a new issue and citing this if python 3.6 deprecation could disrupt things on your end. I'm concerned this won't be seen since it's already closed. caveat, poetry isn't the only package dropping support for python 3.6:
On the other hand, |
Well, Unless there are some technical reasons it might worth considering restoring Python 3.6 compatiblity.
|
@markus-oberhumer I think the next step would be to raise this concern in a new issue (referencing the comments we had here) |
Hello @markus-oberhumer, we are simply not enough people to support dead python versions. It's time consuming to work around things that doesn't work in older python versions. Furthermore it holds us back to improve poetry if we cannot use new python features. We didn't write it anywhere until now, but between the maintainers there is an agreement, that we will promise to support a python version until it's end of life. After that we can drop the support at any time. fin swimmer (Personal opinion: The date when the end of life of a software is reached, doesn't mean "start transition", it means "end of the transition period") |
@finswimmer I fully get your point - just wanted to make sure you are aware of the consequences, esp. as there seem to be no real technical reasons for this decisions ATM. |
Just to add to what @finswimmer already mentioned, the primary motivator here is to reduce the maintanence burden imposed by keeping features working in older versions of Python. While I understand that there is LTS offerred by various distribution vendors for Python 3.6 and even 2.7, this happens due to resources being allocated specifically for this task, ie by the likes of Red Hat. The drop of support here only relates to the runtime version of Poetry and not the version of Python environments Poetry manages. And also consider that these distributions also provide newer versions of Python to be installed alongside system default versions. As for technical rationale, there are a few projects within Poetry's dependency chain that have dropped support for older Python versions. So, we can either keep them locked to older (and unsupported) versions or try maintaining/backporting fixes and improvements. That is a, very deep rabbit hole. And if this level of support is required by someone, I'd suggest that you pay a vendor. Since Poetry 1.1 versions still support these versions of Python, a vendor could in theory backport fixes/improvements to a supported fork. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Python 3.6 has reached end of life last month on December 23rd, 2021.
Issue
Since Python 3.6 support has officially ended, 3.6 compatibility can be removed throughout the codebase (including CI, docs)
The text was updated successfully, but these errors were encountered: