The GitHub Actions job "Tests" on airflow.git/pr-57320 has failed.
Run started by GitHub user andreahlert (triggered by andreahlert).

Head commit for run:
49096263da32defa6286b5a7d13d533cf7fc5173 / AndrĂ© Ahlert <[email protected]>
Fix mypy and test assertion after DagBag include_examples removal

The previous commit removed include_examples from DagBag callers but left
two follow-ups that broke prek mypy and the config CLI test:

- devel-common test_utils/db.py: pre-3.1 compat branches still call
  DagBag(include_examples=False) for older Airflow runtimes; mypy now
  flags it because the current source no longer accepts that kwarg. Add
  call-arg type-ignore (matches the existing attr-defined pattern on the
  sync_to_db calls below).
- test_config_command.py: assertions for conf.write(...) lost the
  include_examples=False kwarg, but conf.write is AirflowConfigParser.write
  (config-file examples), unrelated to the DagBag flag, and still passes
  it. Restore the kwarg in the expected call.

Signed-off-by: AndrĂ© Ahlert <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/25337797078

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to