Fixes broken asset compilation in Docker images#14995
Conversation
|
This one will need to be cherry-picked to 2.0.2 as well @kaxil |
|
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
|
:( test is failing, this is the same error as #14968 (comment) |
|
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
|
The Workflow run is cancelling this PR. Building image for the PR has been cancelled |
c1ce886 to
4ab0abd
Compare
|
The Workflow run is cancelling this PR. Building images for the PR has failed. Follow the workflow link to check the reason. |
The change apache#14911 had a bug - when PYTHON_MINOR_MAJOR_VERSION was removed from the imge args, the replacement `python -m site` expression missed `/airflow/` suffix. Unfortunately it was not flagged as an error because the recompiling script silently skipped recompilation step in such case. This change: * fixes the error * removes the silent-skipping if check (the recompilation will fail in case it is wrongly set) * adds check at image verification whether dist/manifest.json is present. Fixes: apache#14991
4ab0abd to
0fcf08d
Compare
The change #14911 had a bug - when PYTHON_MINOR_MAJOR_VERSION was removed from the imge args, the replacement `python -m site` expression missed `/airflow/` suffix. Unfortunately it was not flagged as an error because the recompiling script silently skipped recompilation step in such case. This change: * fixes the error * removes the silent-skipping if check (the recompilation will fail in case it is wrongly set) * adds check at image verification whether dist/manifest.json is present. Fixes: #14991
The change #14911 had a bug - when PYTHON_MINOR_MAJOR_VERSION was removed from the imge args, the replacement `python -m site` expression missed `/airflow/` suffix. Unfortunately it was not flagged as an error because the recompiling script silently skipped recompilation step in such case. This change: * fixes the error * removes the silent-skipping if check (the recompilation will fail in case it is wrongly set) * adds check at image verification whether dist/manifest.json is present. Fixes: #14991
The change #14911 had a bug - when PYTHON_MINOR_MAJOR_VERSION
was removed from the imge args, the replacement
python -m siteexpression missed
/airflow/suffix. Unfortunately it was notflagged as an error because the recompiling script silently
skipped recompilation step in such case.
This change:
fail in case it is wrongly set)
present.
Fixes: #14991
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.