potiuk opened a new pull request, #76484:
URL: https://github.com/apache/airflow/pull/76484
The OS-dependencies images added in #76225 have not been published yet,
because every build fails in `install_os_dependencies.sh` with a bare apt exit
code 100.
The hardened base images can ship an apt newer than the one dhi.io
publishes: the failing digest has apt 3.0.4 from `debian-security`, while
dhi.io has 3.0.3+dhi2. Preferring dhi.io then selects an `apt-utils` that
depends on exactly its own apt, which cannot be installed beside the image's:
apt-utils : Depends: apt (= 3.0.3+dhi2) but 3.0.4 is to be installed
The failure was invisible in the logs because the install discarded apt's
output. Its output is now kept in a file and printed if the install fails.
Tested with the full script on the base image digest of the failed build
(Python 3.12.16, amd64 under emulation): `dev` and `runtime` both complete. The
failure output was tested with stubbed apt tools. The `ci` type, arm64 and the
other Python versions have not been run locally.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Opus 5
Generated-by: Claude Opus 5 following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]