pierrejeambrun commented on code in PR #61281:
URL: https://github.com/apache/airflow/pull/61281#discussion_r2793581785
##########
airflow-core/src/airflow/api_fastapi/main.py:
##########
@@ -23,6 +23,21 @@
# This ensures plugins loaded at import time get the correct secrets backend
chain
os.environ["_AIRFLOW_PROCESS_CONTEXT"] = "server"
+# Defensive: Disable uvloop if PYTHONASYNCIODEBUG=1 is set (see Airflow issue
#61214)
+if os.environ.get("PYTHONASYNCIODEBUG") == "1":
Review Comment:
We're missing a check on the python minor version. No need to do that if
python != 3..13
--
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]