Pendulum not importing correctly with certain lib #36741
Labels
area:core
duplicate
Issue that is duplicated
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
2.8.0
If "Other Airflow 2 version" selected, which one?
No response
What happened?
When importing airflow, breaking change with pendulum 3.0. Fixed the issue by from pendulum import tz etc..
pendulum 3.0 was released last month
The tz argument is keyword-only, unlike in version 1.x
https://pendulum.eustace.io/docs/
What you think should happen instead?
from pendulum import tz
How to reproduce
install airflow locally and try running script with date used
Operating System
macOS
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: