The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user ashb (triggered by ashb).
Head commit for run: 73eb25b1ee7b8ba3b1c8aeb8d8c3716f1ffc4283 / Ash Berlin-Taylor <[email protected]> Fix completion/linting/type checking with VSCode/pyright Pyright (the type engine powering VSCode's python extension) doesn't treat `airflow` as a namespace package because of the `airflow/__init__.py` and it doesn't want to/can't support detecting the `__path__ = ...` method of making it an explicit namespace package, so we are left with no option but to create Yet Another Stub File. Tested by pytting `reveal_type(FAB_VERSION); reveal_type(TaskSDKDag)` inside `_upgrade_outdated_dag_access_control` in `airflow/model/dag.py` -- before this change it was reporting both as Unknown. And to continue to keep Pycharm happy we have to have the `__path__` stanzas without future annotations in all the "empty" files. Ugly, but at least it works Report URL: https://github.com/apache/airflow/actions/runs/11795403258 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
