potiuk commented on code in PR #46891:
URL: https://github.com/apache/airflow/pull/46891#discussion_r2160052946


##########
airflow-core/src/airflow/api_fastapi/core_api/app.py:
##########
@@ -125,6 +128,13 @@ def init_flask_plugins(app: FastAPI) -> None:
     try:
         from airflow.providers.fab.www.app import create_app
     except ImportError:
+        if PY313:
+            log.info(
+                "Some Airflow 2 plugins have been detected in your 
environment. Currently FAB provider "
+                "does not support Python 3.13, so you cannot use Airflow 2 
plugins with Airflow 3 until "
+                "FAB provider will be Python 3.13 compatible."
+            )
+            return

Review Comment:
   No. it's fine. The problem is that we cannot really throw exception here - 
as many tests will fail - and user cannot do absolutely anything about it - 
before we make FAB runnable on Python 3.13 - then it might be turned into 
warning (because user will be able to remedy it by installing fab provider).



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