[Bug 1995864] Re: UnknownTimeZoneError: 'Europe/Kyiv' in python3-tz
Stuart Bishop
1995864 at bugs.launchpad.net
Wed Nov 9 12:20:15 UTC 2022
pytz needs to be updated to 2022.2.1 or later, preferably 2022.6, in
supported Ubuntu releases. The ugly alternative is hacking
pytz/__init__.py to update the hardcoded list of timezone names to match
current reality. pytz code has been almost completely frozen for a
decade and new versions will drop in just fine, packaging quirks and
Python environment willing.
Yes, it is best to switch from pytz to the support now built into Python
3.9 and later. https://pypi.org/project/pytz-deprecation-shim/ can make
this easy in many cases.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-tz in Ubuntu.
https://bugs.launchpad.net/bugs/1995864
Title:
UnknownTimeZoneError: 'Europe/Kyiv' in python3-tz
Status in python-tz package in Ubuntu:
Confirmed
Bug description:
I install latest updates on my Ubuntu 20.04 and 22.04 and timezone has changed from Europe/Kiev to Europe/Kyiv, which caused error in my service:
pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'
The problem exists on:
Ubuntu 20.04 python3-tz version - 2019.3-1
Ubuntu 22.04 with version of python3-tz - 2022.1-1.
The problem is solved for kinetic release. Could you please add 'Europe/Kyiv' timezone for previous releases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tz/+bug/1995864/+subscriptions
More information about the foundations-bugs
mailing list