uranusjr commented on PR #33450:
URL: https://github.com/apache/airflow/pull/33450#issuecomment-1681561149
I think pytz is implicitly required by some dependencies anyway, so there’s
no point moving to the backported zoneinfo now. We can maybe do
```python
try:
from zoneinfo import ZoneInfo
except ImportError:
from pytz import Timezone as ZoneInfo
```
to pre-emptively be ready for the transition when the transitive pytz
dependency is dropped.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]