dabla opened a new issue, #56552:
URL: https://github.com/apache/airflow/issues/56552

   ### 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.
   
   [logs.txt](https://github.com/user-attachments/files/22854719/logs.txt)
   
   ### 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?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to