potiuk opened a new pull request, #76798: URL: https://github.com/apache/airflow/pull/76798
`breeze release-management release-prod-images --slim-images` passed the constraints mode as `AIRFLOW_CONSTRAINTS`, but the `Dockerfile` reads `AIRFLOW_CONSTRAINTS_MODE`. Docker ignores unknown build arguments, so the published slim images were built with the default, full constraints instead of the constraints without providers - pinning the core dependencies to versions resolved together with every provider, and storing a constraints file in the image that does not match what the docs describe. The build argument is now `AIRFLOW_CONSTRAINTS_MODE`, and it is passed only for slim images; regular images keep relying on the default mode, as they effectively did before. Found while reviewing the restructure of the Docker image docs. Checked locally: the new test fails without the change and passes with it, and the breeze tests in `test_release_management_commands.py` and `test_os_deps_images.py` pass. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
