debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #01953
[Bug 2101044] Re: Please migrate from pytz to zoneinfo or dateutil.tz
** Tags added: dcr-incoming
** Changed in: flask-restful (Ubuntu)
Status: New => Confirmed
** Changed in: python-croniter (Ubuntu)
Status: New => Confirmed
** Changed in: python-pycadf (Ubuntu)
Status: New => Confirmed
** Changed in: python-pysaml2 (Ubuntu)
Status: New => Confirmed
** Changed in: python-tz (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to python-tz in Ubuntu.
https://bugs.launchpad.net/bugs/2101044
Title:
Please migrate from pytz to zoneinfo or dateutil.tz
Status in flask-restful package in Ubuntu:
Confirmed
Status in python-croniter package in Ubuntu:
Confirmed
Status in python-pycadf package in Ubuntu:
Confirmed
Status in python-pysaml2 package in Ubuntu:
Confirmed
Status in python-tz package in Ubuntu:
Confirmed
Status in python-django package in Debian:
New
Bug description:
pytz has served the Python community well for many years, but it is no
longer the best option for providing time zones. pytz has a non-
standard interface that is very easy to misuse (see
https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html);
this interface was necessary when pytz was created, because datetime
had no way to represent ambiguous datetimes, but this was solved in
Python 3.6, which added a fold attribute to datetimes in PEP 495. With
the addition of the zoneinfo module in Python 3.9 (PEP 615), there has
never been a better time to migrate away from pytz.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flask-restful/+bug/2101044/+subscriptions