Hello Pythonistas,
We (me and Gwyn) plan to deprecate pytz in Fedora 35+:
https://fedoraproject.org/wiki/Changes/DeprecatePytz
The change is not submitted yet because of missing content in this section:
https://fedoraproject.org/wiki/Changes/DeprecatePytz#How_to_migrate_to_the_s...
I'm sending it here to the Fedora's Python list for early feedback before I collect some links to put into that section.
Hi Miro,
I can understand the desire to remove pytz and I have to mention that I don't have any specific upstream feedback.
However certbot/babel do support pretty old versions of Python. Adding a separate code path for Python 3.x+ might be a pretty tough sell and might contribute to the "let's advertise snaps only for distribution" mindset.
Felix
On 18. 02. 21 17:16, Felix Schwarz wrote:
Hi Miro,
I can understand the desire to remove pytz and I have to mention that I don't have any specific upstream feedback.
However certbot/babel do support pretty old versions of Python. Adding a separate code path for Python 3.x+ might be a pretty tough sell and might contribute to the "let's advertise snaps only for distribution" mindset.
Hi Felix.
Disclaimer: We are not removing pytz as long as there are packages that depend on it.
For babel, I follow this: https://github.com/python-babel/babel/issues/716
Since we have marked the pytz package unwanted for ELN and we have babel in ELN (trough sphinx), we'll most likely try to help there (or get rid of babel from ELN's sphinx).
BTW There's backports.zoneinfo for Python 3.6+, so we'll see how long babel needs to support Python 2.
On Thu, Feb 18, 2021 at 05:39:30PM +0100, Miro Hrončok wrote:
On 18. 02. 21 17:16, Felix Schwarz wrote:
Hi Miro,
I can understand the desire to remove pytz and I have to mention that I don't have any specific upstream feedback.
However certbot/babel do support pretty old versions of Python. Adding a separate code path for Python 3.x+ might be a pretty tough sell and might contribute to the "let's advertise snaps only for distribution" mindset.
I think there shouldn't be resistance from certbot to drop the dependency. certbot should be deployable in really minimal environments, so I expect people would be happy to drop the dependency.
Zbyszek
Hi Felix.
Disclaimer: We are not removing pytz as long as there are packages that depend on it.
For babel, I follow this: https://github.com/python-babel/babel/issues/716
Since we have marked the pytz package unwanted for ELN and we have babel in ELN (trough sphinx), we'll most likely try to help there (or get rid of babel from ELN's sphinx).
BTW There's backports.zoneinfo for Python 3.6+, so we'll see how long babel needs to support Python 2.
python-devel@lists.fedoraproject.org