Incompatibility between Airflow 3.0.6 and FastAPI 0.121.0 #57769
-
Apache Airflow versionOther Airflow 2/3 version If "Other Airflow 2/3 version" selected, which one?3.0.6 What happened?Hello, Today, FastAPI released a new minor version, going from This new release has moved the It triggered an error from a project using Airflow 3.0.6: I would guess the issue could be fixed here by adding a maximum version ; but we could also consider fixing the import. What you think should happen instead?Airflow 3.0 shouldn't have an incompatibility with FastAPI. How to reproduce
Operating SystemUbuntu 24.04.3 LTS Versions of Apache Airflow Providersapache-airflow-providers-common-compat==1.8.0 DeploymentAstronomer Deployment detailsNo response Anything else?No response Are you willing to submit PR?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
|
Correct. Fast API 0.121 does not work with cadwyn zmievsa/cadwyn#305 -> you can chime in there to raise it's priority. Also Airflow 3 does not really work well with FastAPI 0.118+ -> see fastapi/fastapi#14262 and Airflow 3.1 has (for now) FastAPI limited to <0.118 - only after yesterday's fix in 0.121 we can switch to >=0.121 but only after the cadwyn bug is fixed. Converting to a discussion - this is not an Aiflow issue and will be fixed independently |
Beta Was this translation helpful? Give feedback.
Correct. Fast API 0.121 does not work with cadwyn zmievsa/cadwyn#305 -> you can chime in there to raise it's priority. Also Airflow 3 does not really work well with FastAPI 0.118+ -> see fastapi/fastapi#14262 and Airflow 3.1 has (for now) FastAPI limited to <0.118 - only after yesterday's fix in 0.121 we can switch to >=0.121 but only after the cadwyn bug is fixed.
Converting to a discussion - this is not an Aiflow issue and will be fixed independently