[Bug 2101044] Re: Please migrate from pytz to zoneinfo or dateutil.tz
Benjamin Drung
2101044 at bugs.launchpad.net
Tue Nov 18 10:19:09 UTC 2025
seb demoted pytz:
Override component to universe
python-tz 2025.2-4 in resolute: main/python -> universe
python3-pytz 2025.2-4 in resolute amd64: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute amd64v3: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute arm64: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute armhf: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute i386: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute ppc64el: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute riscv64: main/python/optional/100% -> universe
python3-pytz 2025.2-4 in resolute s390x: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute amd64: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute amd64v3: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute arm64: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute armhf: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute i386: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute ppc64el: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute riscv64: main/python/optional/100% -> universe
python3-tz 2025.2-4 in resolute s390x: main/python/optional/100% -> universe
Override [y|N]? y
17 publications overridden.
** Changed in: python-tz (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-pysaml2 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:
Fix Released
Status in python-croniter package in Ubuntu:
Fix Released
Status in python-pycadf package in Ubuntu:
Fix Released
Status in python-pysaml2 package in Ubuntu:
Fix Released
Status in python-tz package in Ubuntu:
Fix Released
Status in python-django package in Debian:
Fix Committed
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
More information about the Ubuntu-openstack-bugs
mailing list