[Bug 1995864] Re: UnknownTimeZoneError: 'Europe/Kyiv' in python3-tz
Benjamin Drung
1995864 at bugs.launchpad.net
Wed Nov 16 15:58:43 UTC 2022
** Changed in: python-tz (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1995864
Title:
UnknownTimeZoneError: 'Europe/Kyiv' in python3-tz
Status in python-tz package in Ubuntu:
Fix Released
Status in python-tz source package in Focal:
New
Status in python-tz source package in Jammy:
New
Bug description:
[ Impact ]
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.
[ Test plan ]
Execute following script:
```
#!/usr/bin/python3
from pytz import timezone
print(timezone('Europe/Kyiv'))
```
[ Where problems could occur ]
The list of timezones are brought up-to-date with the latest tzdata
version, but this can cause failures with outdated tzdata package
versions.
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