eladkal commented on code in PR #42231: URL: https://github.com/apache/airflow/pull/42231#discussion_r1759660324
########## docs/apache-airflow/howto/set-config.rst: ########## @@ -179,6 +179,7 @@ where you can configure such local settings - This is usually done in the ``airf You should create a ``airflow_local_settings.py`` file and put it in a directory in ``sys.path`` or in the ``$AIRFLOW_HOME/config`` folder. (Airflow adds ``$AIRFLOW_HOME/config`` to ``sys.path`` when Airflow is initialized) +Starting from Airflow 2.10.1, the $AIRFLOW_HOME/dags folder is no longer included in sys.path at initialization, so any local settings in that folder will not be imported. Ensure that airflow_local_settings.py is located in a path that is part of sys.path during initialization, like $AIRFLOW_HOME/config. Review Comment: For better context lets please add the reference to the mailing list announcement about it https://lists.apache.org/thread/b4fcw33vh60yfg9990n5vmc7sy2dcgjx otherwise users might not understand why this was changed -- 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]
