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

Head commit for run:
da50564d863329eff4c52712ac0561cde235a4df / Jarek Potiuk <[email protected]>
Fix pre-commit for asset compilation missing rich as dependency

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/7017178906

With regards,
GitHub Actions via GitBox


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

Reply via email to