Bug 2406005 - issue with pytz parsing newer versions of pytz/tzdata
Summary: issue with pytz parsing newer versions of pytz/tzdata
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: pytz
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2332196
TreeView+ depends on / blocked
 
Reported: 2025-10-23 09:44 UTC by Peter Robinson
Modified: 2025-10-24 20:34 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2025-10-23 09:44:42 UTC
I dug into this a little bit due to the FTB of python-pandas.

The newer releases of pytz in some (maybe all) cases are returning wrong TZ data causing at least test failures.

Upstream bugs report this as an issue since 2024b. Some of the issues that show details are:
https://github.com/stub42/pytz/issues/138
https://github.com/stub42/pytz/issues/133
https://github.com/stub42/pytz/issues/130

The long term fix is likely to move to zoneinfo which has been part of python stdlib since 3.9 but this doesn't resolve the issue for the many users of pytz in Fedora in the short term.

Reproducible: Always

Comment 1 Gwyn Ciesla 2025-10-24 20:34:38 UTC
I've added myself to the two as yet open issues but I don't even see proposed fixes. Migration is definitely the right path.


Note You need to log in before you can comment on or make changes to this bug.