Bug 2216116
| Summary: | pytz: FTBFS due to tzdata changes [rhel9] | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Florian Weimer <fweimer> | |
| Component: | pytz | Assignee: | Lumír Balhar <lbalhar> | |
| Status: | CLOSED MIGRATED | QA Contact: | RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.3 | CC: | cstratak, lbalhar | |
| Target Milestone: | rc | Keywords: | MigratedToJIRA | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2217852 2217853 2217873 (view as bug list) | Environment: | ||
| Last Closed: | 2023-07-12 13:40:07 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
It seems that the problem now causes FTBFS of pytz in python27 and python38 modules in RHEL 8. I'm gonna clone this bugzilla for them. And also for the non-modular version in RHEL 8. If I understand it correctly, upstream of pytz has changed (in the commit mentioned above) the way they collect the data from tzdata project to exclude the backzone information from it. That's something we cannot reproduce downstream, because we rely on data provided by tzdata component so the only way forward here is to make the tests in pytz project compatible with whatever tzdata provides right now. FTR: I'm going to fix pytz in modules first because we need to ship them asap and there are multiple failing components. I'm gonna use the non-modular bugs for pytz for RHEL 8 and 9 for testing of RHEL in Jira processes and I'll try to migrate them into Jira soon. I'm gonna test the automatic migration from BZ to Jira here. |
This upstream commit is needed to get pytz building again: commit 07aa4d962dae5cb7ced4f61fe85a9001a01676df Author: Stuart Bishop <stuart> Date: Sat Aug 13 12:00:26 2022 +1000 Revert inclusion of PACKRATDATA=backzone Per https://github.com/python/tzdata/issues/53#issuecomment-1213628767 I chose to include backzone in pytz in an attempt to head off problems: Changes to past timestamps Finish moving to 'backzone' the location-based zones whose timestamps since 1970 are duplicates; adjust links accordingly. This change ordinarily affects only pre-1970 timestamps, and with the new PACKRATLIST option it does not affect any timestamps. In this round the affected zones are Antarctica/Vostok, Asia/Brunei, Asia/Kuala_Lumpur, Atlantic/Reykjavik, Europe/Amsterdam, Europe/Copenhagen, Europe/Luxembourg, Europe/Monaco, Europe/Oslo, Europe/Stockholm, Indian/Christmas, Indian/Cocos, Indian/Kerguelen, Indian/Mahe, Indian/Reunion, Pacific/Chuuk, Pacific/Funafuti, Pacific/Majuro, Pacific/Pohnpei, Pacific/Wake and Pacific/Wallis, and the affected links are Arctic/Longyearbyen, Atlantic/Jan_Mayen, Iceland, Pacific/Ponape, Pacific/Truk, and Pacific/Yap. This upstream change modifies some of the pre-1970 transitions in obscure ways that almost zero users will actually care about, and where quite likely dubious in any case. Such as the times pre-1970 when Belfast was not on London time or when Amsterdam switched from being 18-20 minutes ahead of GMT to GMT. Changes to historical timezones has always happened in the upstream database, and normally they are called corrections (which only causes breakage if you area storing wallclock times rather than UTC timestamps).