[Bug 2101044] Re: Please migrate from pytz to zoneinfo or dateutil.tz

Launchpad Bug Tracker 2101044 at bugs.launchpad.net
Fri Nov 14 10:22:36 UTC 2025


This bug was fixed in the package python-croniter - 6.1~rc1-0ubuntu1

---------------
python-croniter (6.1~rc1-0ubuntu1) resolute; urgency=medium

  * New upstream release.
  * Drop fix-tz.patch (fixed upstream)
  * Build-Depend on pybuild-plugin-pyproject
  * Replace python3-setuptools build-depends by flit
  * Drop using openstack-pkg-tools and pkgos-dh_auto_install
  * Rename python3-tz to python3-pytz
  * Demote python3-pytz to Suggests (use zoneinfo instead) (LP: #2101044)
  * Drop unused build-dependency python3-tzlocal

 -- Benjamin Drung <bdrung at ubuntu.com>  Thu, 13 Nov 2025 22:51:42 +0100

** Changed in: python-croniter (Ubuntu)
       Status: Fix Committed => 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 Committed
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 Committed
Status in python-tz package in Ubuntu:
  Triaged
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