jedcunningham commented on code in PR #44755:
URL: https://github.com/apache/airflow/pull/44755#discussion_r1876789228
##########
tests/executors/test_executor_loader.py:
##########
@@ -146,6 +146,11 @@ def test_get_hybrid_executors_from_config(self,
executor_config, expected_execut
assert executors == expected_executors_list
def test_init_executors(self):
+ # We need to init provider config in order to import CeleryExecutor
+ ProvidersManager().initialize_providers_configuration()
+
+ from airflow.providers.celery.executors.celery_executor import
CeleryExecutor
+
Review Comment:
> Maybe simply you have no `uv sync` or `pip install -e ./providers`
installed in your venv - and that's where all the problems are from ?
Pretty sure I'm up to date using `uv sync` locally, a fresh ci-image with
breeze, and CI - all failing the same way.
> Or maybe there is a scenario that those fixture from pytest_plugin have
not been loaded somehow and that's why you had problem with it ?
I believe this is it - the import of CE seems to happen before the fixture
runs, and those pre-2.7 fallbacks were hiding the issue.
--
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]