Skip to content

Support stdlib zoneinfo.ZoneInfo (new in Python 3.10) #19450

@uranusjr

Description

@uranusjr

Body

Python 3.10 introduced zoneinfo which covers usages of pendulum.tz (for Airflow uses, from what I can tell). Airflow should support zoneinfo.ZoneInfo for all places where it currently uses pendulum.tz.Timezone. This should be a good first step to phase out Pendulum from Airflow.

The module is also backported as backports.zoneinfo to Python 3.6+, but it's probably not a priority to replace Pendulum usages with it for now.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:metaHigh-level information important to the community

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions