-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Closed
Labels
area:corekind: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
3.1.0
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
Since macro's have now been moved to the Task SDK, and Airflow isn't depending on Flask anymore and thus also the flask-babel dependency, the babel dependency is missing since macro's like ds_format_locale depend on it.
What you think should happen instead?
The babel dependency should be added in the Task SDK.
How to reproduce
Use the macros.ds_format_locale in your jinja expressions and you will get an ModuleNotFoundError: No module named 'babel' error.
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other 3rd-party Helm chart
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:corekind: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