We don’t have tzdata[1] packaged because we can rely on having system time zone data installed, and tzdata “is intended to be a fallback for systems that do not have system time zone data installed (or don’t have it installed in a standard location), as a part of PEP 615[2].”

Looking at the latest python-dateutil release, I think you should just patch out the tzdata dependency, something like this:

    # We can rely on system timezone data being installed.

    # This dependency would only be needed for the deprecated dateutil.zoneinfo

    %pyproject_patch_dependency tzdata:ignore

You’ll have to do some impact-checking and patch coordination for this update anyway, and it’s better to help dependent packages migrate away from dateutil.zoneinfo (if any are even using it directly) than to package and constantly update yet another independent copy of the timezone database.

All of the tests in python-dateutil that rely on the tzdata package are already automatically skipped if it isn’t installed.

[1] https://pypi.org/project/tzdata/

[2] https://peps.python.org/pep-0615/

On 08/11/2026 10:01 am, Mattia Verga via python-devel wrote:
The new 4.0.0 version now depends on tzdata, but I can't find the python 
package in Fedora... am I missing something? It seems odd that we don't already 
have it packaged...
--
_______________________________________________
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to