The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
4327ec43829da9e0948eb4d85d771092ac842e1a / Jarek Potiuk <[email protected]>
Fix pre-commit for asset compilation missing rich as dependency (#35915)

After recent refactors, common_pre_commit_utils have rich as
dependency so any pre-commits that cannot have rich set as dependency
should not use it.

The "compile-www-assets" and "compile-www-assets-dev" pre-commits
are "node" pre-commits - which means that they are not installing
python dependencies - they at most might install node dependencies,
and we cannot specify rich as dependency using pre-commit mechanisms.

The "compile-www-assets" and "compile-www-assets-dev" are pretty
special, because they are "manual" stage pre-commits so they are
not executed in CI and we have not detected them failing in
latest refactor.

This PR makes those pre-commit python scripts work only using
stdlib imports and add warning to avoid adding other imports.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to