eumiro opened a new pull request, #33450: URL: https://github.com/apache/airflow/pull/33450
Replace `pytz.UTC` with stdlib's `datetime.timezone.utc` and normalize importing of `datetime` in touched files because bare `timezone` could come from other libs too. There's one pytz-depending file left: `tests/models/test_trigger.py`, that could be replaced by stdlib's `zoneinfo` from Python 3.9 (i.e. when Python 3.8 support is dropped) or we could replace it by the backported pypi version right now. -- 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]
