ahipp13 opened a new issue, #53999: URL: https://github.com/apache/airflow/issues/53999
### Apache Airflow Provider(s) fab ### Versions of Apache Airflow Providers 2.3.0 ### Apache Airflow version 3 ### Operating System ID=chainguard NAME="Chainguard" PRETTY_NAME="Chainguard" VERSION_ID="20230214" HOME_URL="https://chainguard.dev/" ### Deployment Official Apache Airflow Helm Chart ### Deployment details Using helm chart 1.18.0 on kubernetes version v1.32.4-gke.200 ### What happened When I try to deploy the helm chart, on the "wait-for-migrations" containers in the scheduler and api-server pods I get this error: ``` WARNING - cannot import name '_plain_int' from 'werkzeug._internal' (/opt/airflow/lib/python3.12/site-packages/werkzeug/_internal.py) │ │ [2025-07-31T20:26:09.878+0000] {cli_parser.py:81} WARNING - cannot load CLI commands from auth manager: The object could not be loaded. Please check "auth_manager" key in "core" section. Current value: " │ │ airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager". │ │ [2025-07-31T20:26:09.879+0000] {cli_parser.py:82} WARNING - Auth manager is not configured and api-server will not be able to start. │ │ [2025-07-31T20:26:10.121+0000] {configuration.py:1240} WARNING - cannot import name '_plain_int' from 'werkzeug._internal' (/opt/airflow/lib/python3.12/site-packages/werkzeug/_internal.py) │ │ Traceback (most recent call last): │ │ File "/opt/airflow/lib/python3.12/site-packages/airflow/configuration.py", line 1238, in getimport │ │ return import_string(full_qualified_path) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/opt/airflow/lib/python3.12/site-packages/airflow/utils/module_loading.py", line 39, in import_string │ │ module = import_module(module_path) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module │ │ return _bootstrap._gcd_import(name[level:], package, level) │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import │ │ File "<frozen importlib._bootstrap>", line 1360, in _find_and_load │ │ File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked │ │ File "<frozen importlib._bootstrap>", line 935, in _load_unlocked │ │ File "<frozen importlib._bootstrap_external>", line 999, in exec_module │ │ File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed │ │ File "/opt/airflow/lib/python3.12/site-packages/airflow/providers/fab/auth_manager/fab_auth_manager.py", line 27, in <module> │ │ from connexion import FlaskApi │ │ File "/opt/airflow/lib/python3.12/site-packages/connexion/__init__.py", line 12, in <module> │ │ import werkzeug.exceptions as exceptions # NOQA │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ │ File "/opt/airflow/lib/python3.12/site-packages/werkzeug/__init__.py", line 2, in <module> File "/opt/airflow/lib/python3.12/site-packages/werkzeug/__init__.py", line 2, in <module> │ │ from .test import Client as Client │ │ File "/opt/airflow/lib/python3.12/site-packages/werkzeug/test.py", line 19, in <module> │ │ from .datastructures import Authorization │ │ File "/opt/airflow/lib/python3.12/site-packages/werkzeug/datastructures/__init__.py", line 15, in <module> │ │ from .file_storage import FileMultiDict as FileMultiDict │ │ File "/opt/airflow/lib/python3.12/site-packages/werkzeug/datastructures/file_storage.py", line 11, in <module> │ │ from .._internal import _plain_int │ │ ImportError: cannot import name '_plain_int' from 'werkzeug._internal' (/opt/airflow/lib/python3.12/site-packages/werkzeug/_internal.py) ``` ### What you think should happen instead It should start up as normal. I run this exact same configuration in Airflow 2.11 and it works just fine ### How to reproduce Run helm chart 1.18.0 installing the fab provider and make sure the auth_manager is set to fab. ### Anything else Not sure why this is not working in Airflow 3 as I have this exact same setup in Airflow 2.11 and it is working awesome. If you need any more information please let me know ### Are you willing to submit PR? - [ ] 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]
