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

Robie Basak 1995864 at bugs.launchpad.net
Tue Nov 8 11:44:36 UTC 2022


Looks like this was "fixed" upstream by updating the embedded database
by pulling in IANA 2022b at
https://git.launchpad.net/pytz/commit/?id=fbe098e6d2f78765821c2688fd00db8dab40bbef

So I'm guessing this is failing for users who now have Europe/Kyiv set,
and pytz/python-tz/python3-tz cannot find it?

The update in tzdata was to link the old name Europe/Kiev, so I think
that should be a workaround for now?

We can certainly try to cherry-pick the Kiev->Kyiv rename. But
separately I wonder if this needs fixing "properly" by avoiding the use
of embedded code like this, or if that wouldn't be practical for some
reason.

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