You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
filename=/usr/local/lib/python3.13/site-packages/airflow/sdk/execution_time/supervisor.py lineno=575
--- Supervised process Last chance exception handler ---
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/airflow/sdk/execution_time/supervisor.py", line 420, in _fork_main
block_orm_access()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/airflow/sdk/execution_time/supervisor.py", line 330, in block_orm_access
settings.block_orm_access()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/airflow/sdk/execution_time/supervisor.py", line 326, in __getattr__
raise AttributeError(f"module {settings.__name__!r} has no attribute {name!r}")
AttributeError: module 'airflow.settings' has no attribute 'block_orm_access'
Hi @ashb / @kaxil I tried to re-produce the error based on the commit and can not see how you ran into it. Can you share how to reproduce? In my tests with Python 3.12 and 3.13, LocalExecutor, Celery and Edge it was working through all my positive and negative tests. Unable to make the same error.
@jscheffl Hmmmm, I'm not quite sure. All I know is that I rebuild and restarted everything two or three times, and this was the only thing that fixed it in my env.
It wasn't needed, because SQL_ALCHEMY_CONN and SQL_ALCHEMY_CONN_ASYNC were found by __getattributes__, so __getattr__ was never invoked for them (a difference between Python attribute types).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #61917 - it broke all task execution.