drop python 3.7 support for master -> upcoming 9.0.0#2194
Conversation
alexsavulescu
commented
Jan 25, 2023
- EOL (only security fixes mode until 06-2023, no bugfixes anymore)
- reduce CI time and avoid adding more technical debt (i.e. Python API deprecations starting with 3.11 #2123 remove distutils usage #2193)
|
✔️ d5dcab3 -> Azure artifacts URL |
Speeding up CI is good but I am not sure if that means we should also remove the possibility to provide release with Python 3.7. |
|
We could still support python 3.7, but that implies we need to add custom code for the incoming updates that we must do (i.e. removing distutils, deal with Python API deprecations).
Are there any hard requirements for this? Python 3.8+ should be default on most systems
Those stats are for a specific day? I wonder how many are coming from our CIs. |
yeah, I selected just one day. Your stats are better!
People use python packages in complex workflows and for some reason they might have chosen 3.7.
Is there something that is pending with 3.7 at the moment? My reasoning is, cutting down support for python 3.7 6 months ahead of EOL is really necessary?? (CI speeding is fine). |
|
By the way - if this was already decided in monthly/weekly neuron dev meetings then sorry for making noise here! (I might be absent then). But if hasn’t discussed then, as we usually do, having such item on meetings in advanced is better to avoid surprises. Edit: thinking bit more, we can slip in this as it is. When there will be time for next release, we can decide if it’s worth to have wheels/installers supporting 3.7. |
Yes, for example the two items in this PR description.
Well there is no more bugfixing, only security updates and it will be EOL by the time we release 9.0.0. We can manually patch and release 3.7 wheels if required then. CI speeding is just one aspect.
Can't imagine why choosing 3.7 would be a strong requirement. Some people still use Python 2.7 and 3.5/3.6 today :)
Nothing about Python 3.7 specifically, but last discussions we had over the years was that we would prefer less maintenance. And working today on distutils + Nico's recent attempt to fix Python API deprecations definitely qualify dropping 3.7 support. |
I hope we will do release before June! 😅 But yeah, we can patch it and release 3.7 support if desired 👍 |
Me too :D |
