SamWheating opened a new pull request, #29883: URL: https://github.com/apache/airflow/pull/29883
I was debugging another issue and running the official helm chart in Kind, and when I tried to run the `example_python_operator` DAG it failed on the `log_sql_query` task with the following error: ``` File "/home/airflow/.local/lib/python3.7/site-packages/jinja2/environment.py", line 969, in _load_template template = self.loader.load(self, name, self.make_globals(globals)) File "/home/airflow/.local/lib/python3.7/site-packages/jinja2/loaders.py", line 126, in load source, filename, uptodate = self.get_source(environment, name) File "/home/airflow/.local/lib/python3.7/site-packages/jinja2/loaders.py", line 218, in get_source raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: sql/sample.sql ``` Which then causes all of the downstream tasks to fail. This is because the template used in the example DAG isn't bundled into the build. I suspect this might work in `breeze` because the source directory is mounted, but when Airflow is installed from pip it won't include this file. Anyways, I think that this minor change should fix things. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org