potiuk commented on PR #57717:
URL: https://github.com/apache/airflow/pull/57717#issuecomment-3478508192

   I tested it locally:
   
   Before the fix (main):
   
   1) run  `breeze start-airflow --load-example-dags --load-default connections 
--db-reset`
   2) Ctrl-C api-server
   3) unistall fab provider `uv pip uninstall ./providers/fab`
   4) uninstall wtforms and flask_babel `uv pip uninstall wtforms flask_babel 
flask_appbuilder`
   
   ```
   root@7a9fe2c838c8:/opt/airflow# uv pip uninstall ./providers/fab/
   Using Python 3.10.19 environment at: /usr/python
   Uninstalled 1 package in 39ms
    - apache-airflow-providers-fab==3.0.1 (from 
file:///opt/airflow/providers/fab)
   root@7a9fe2c838c8:/opt/airflow# uv pip uninstall wtforms flask_babel 
flask_appbuilder
   Using Python 3.10.19 environment at: /usr/python
   Uninstalled 3 packages in 116ms
    - flask-appbuilder==5.0.1
    - flask-babel==4.0.0
    - wtforms==3.2.1
   ```
   
   5) restart api-server (airflow api-server)
   6) try to edit an aws connection and see custom fields 
   
   Result:
   
   <img width="904" height="506" alt="Screenshot 2025-11-03 at 00 48 05" 
src="https://github.com/user-attachments/assets/beb88bae-599c-498e-8c46-816ffbb86125";
 />
   
   a lot of errors in log:
   
   ```
   flow.providers_manager] loc=providers_manager.py:949
   2025-11-02T23:55:11.515303Z [info     ] The hook_class 
'airflow.providers.opsgenie.hooks.opsgenie.OpsgenieAlertHook' is not fully 
initialized (UI widgets will be missing), because the 'flask_appbuilder' 
package is not installed, however it is not required for Airflow components to 
work [airflow.providers_manager] loc=providers_manager.py:949
   2025-11-02T23:55:11.551442Z [info     ] The hook_class 
'airflow.providers.oracle.hooks.oracle.OracleHook' is not fully initialized (UI 
widgets will be missing), because the 'flask_appbuilder' package is not 
installed, however it is not required for Airflow components to work 
[airflow.providers_manager] loc=providers_manager.py:949
   ```
   
   After the fix 
   
   
   1) Checkout 57717  (gh co 57717)
   2) Repeat points 1-6 above
   
   Result:
   
   <img width="896" height="693" alt="Screenshot 2025-11-03 at 00 53 23" 
src="https://github.com/user-attachments/assets/937308a9-316d-4384-afca-126015f5ba12";
 />
   
   No errors in log.
   
   
   (Polish UI ... sorry :) ) 
   
   


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