You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2026/06/03 06:52:00 UTC

[jira] [Created] (BIGTOP-4532) Fix error no running airflow cli on Fedora 40

Masatake Iwasaki created BIGTOP-4532:
----------------------------------------

             Summary: Fix error no running airflow cli on Fedora 40
                 Key: BIGTOP-4532
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4532
             Project: Bigtop
          Issue Type: Bug
            Reporter: Masatake Iwasaki
            Assignee: Masatake Iwasaki


{noformat}
Running transaction
  Preparing        :                                                                                                                                                                                                                                                                                    1/1
  Running scriptlet: airflow-2.10.5-1.fc40.x86_64                                                                                                                                                                                                                                                       1/2
  Reinstalling     : airflow-2.10.5-1.fc40.x86_64                                                                                                                                                                                                                                                       1/2
  Running scriptlet: airflow-2.10.5-1.fc40.x86_64                                                                                                                                                                                                                                                       1/2
[2026-06-03T06:36:27.091+0000] {cli_parser.py:80} WARNING - cannot load CLI commands from auth manager: Type annotation for "TaskInstance.dag_model" can't be correctly interpreted for Annotated Declarative Table form.  ORM annotations should normally make use of the ``Mapped[]`` generic type, or ot\
her ORM-compatible generic type, as a container for the actual type, which indicates the intent that the attribute is mapped. Class variables that are not intended to be mapped by the ORM should use ClassVar[].  To allow Annotated Declarative to disregard legacy annotations which don't use Mapped[]\
 to pass, set "__allow_unmapped__ = True" on the class or a superclass this class. (Background on this error at: https://sqlalche.me/e/20/zlpr)
[2026-06-03T06:36:27.092+0000] {cli_parser.py:81} WARNING - Authentication manager is not configured and webserver will not be able to start.
Traceback (most recent call last):
  File "/usr/lib/airflow/bin/airflow", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/__main__.py", line 62, in main
    args.func(args)
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/cli/cli_config.py", line 49, in command
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/utils/providers_configuration_loader.py", line 54, in wrapped_function
    ProvidersManager().initialize_providers_configuration()
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers_manager.py", line 384, in wrapped_function
    func(*args, **kwargs)
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers_manager.py", line 579, in initialize_providers_configuration
    self._initialize_providers_configuration()
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers_manager.py", line 592, in _initialize_providers_configuration
    self.initialize_providers_list()
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers_manager.py", line 384, in wrapped_function
    func(*args, **kwargs)
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers_manager.py", line 495, in initialize_providers_list
    self._discover_all_providers_from_packages()
  File "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers_manager.py", line 627, in _discover_all_providers_from_packages
    provider_info = entry_point.load()()
                    ^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/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 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  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 "/usr/lib/airflow/lib/python3.12/site-packages/airflow/providers/postgres/__init__.py", line 37, in <module>
    raise RuntimeError(
RuntimeError: The package `apache-airflow-providers-postgres:6.7.0` needs Apache Airflow 2.11.0+
{noformat}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)