[Bug 1995864] Re: UnknownTimeZoneError: 'Europe/Kyiv' in python3-tz

Stuart Bishop 1995864 at bugs.launchpad.net
Wed Nov 9 12:26:54 UTC 2022


The following script will demonstrate the failure. Europe/Kyiv became a
valid timezone name with tzdata 2022b, but the old versions of pytz
don't know that:

#!/usr/bin/python
import pytz
pytz.timezone('Europe/Kyiv')

-- 
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