Repository navigation
Explain a BASE_IMAGE without Python in hardened image builds - #76645
Merged
Merged
Conversation
Passing a plain Debian BASE_IMAGE to the default hardened flavor stopped the build with `python3: command not found`, which does not say what to change. The script now names the two ways out, and the build args reference says BASE_IMAGE has to provide Python, which so far was only mentioned in the changelog. Generated-by: Claude Opus 5
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl and
vatsrahul1001
as code owners
November 7, 2026 00:19
shahar1
approved these changes
Nov 7, 2026
Contributor
Backport failed to create: v3-4-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 2adbce7 v3-4-testThis should apply the commit to the v3-4-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
1 task done
shahar1
added a commit
that referenced
this pull request
Nov 7, 2026
…lds (#76645) (#76659) Passing a plain Debian BASE_IMAGE to the default hardened flavor stops the build with "python3: command not found", which does not say what to change. dev/breeze/tests/test_os_deps_images.py does not exist on this branch, and the rest of it on main tests code that was not backported, so it holds only the new test here. The script reaches the check using bash builtins alone, so the tool stubs the test has on main are not needed. (cherry picked from commit 2adbce7) Claude-Session: https://claude.ai/code/session_01BVx6g8K9pmgvCdYRrKCGPk Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001
pushed a commit
that referenced
this pull request
Nov 9, 2026
…lds (#76645) (#76659) Passing a plain Debian BASE_IMAGE to the default hardened flavor stops the build with "python3: command not found", which does not say what to change. dev/breeze/tests/test_os_deps_images.py does not exist on this branch, and the rest of it on main tests code that was not backported, so it holds only the new test here. The script reaches the check using bash builtins alone, so the tool stubs the test has on main are not needed. (cherry picked from commit 2adbce7) Claude-Session: https://claude.ai/code/session_01BVx6g8K9pmgvCdYRrKCGPk Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001
pushed a commit
that referenced
this pull request
Nov 27, 2026
…lds (#76645) (#76659) Passing a plain Debian BASE_IMAGE to the default hardened flavor stops the build with "python3: command not found", which does not say what to change. dev/breeze/tests/test_os_deps_images.py does not exist on this branch, and the rest of it on main tests code that was not backported, so it holds only the new test here. The script reaches the check using bash builtins alone, so the tool stubs the test has on main are not needed. (cherry picked from commit 2adbce7) Claude-Session: https://claude.ai/code/session_01BVx6g8K9pmgvCdYRrKCGPk Co-authored-by: Jarek Potiuk <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Passing a plain Debian
BASE_IMAGEto the defaulthardenedflavor stops the build withpython3: command not found, which does not say what to change. A user hit this building a customized image withdebian:trixie-slim.The script now names the two ways out: a
BASE_IMAGEwith Python, orAIRFLOW_IMAGE_FLAVOR=legacy. The build args reference also saysBASE_IMAGEhas to provide Python, which so far was only in the changelog.Tested:
dev/breeze/tests/test_os_deps_images.pypasses, and the new test fails on the old script. hadolint and shellcheck need Docker and did not run locally.breeze verifywas not run.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Opus 5 following the guidelines
🤖 Generated with Claude Code