-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:coreduplicateIssue that is duplicatedIssue that is duplicatedkind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
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
from airflow import DAG
schedule = "@once"
...
dag = DAG(
dag_id=dag_id,
default_args=default_args,
schedule_interval=schedule,
catchup=False,
)
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?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:coreduplicateIssue that is duplicatedIssue that is duplicatedkind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet