shunping opened a new pull request, #41459:
URL: https://github.com/apache/beam/pull/41459

   Addresses #41458
   
   Moves the Python SDK container images (including ML images) and the Python 
expansion service image from `python:3.X-bookworm` (Debian 12) to 
`python:3.X-trixie` (Debian 13). This also makes the SDK image consistent with 
the distroless images, which already use `distroless/python3-debian13` (#40811) 
but copy `/usr/local` from the bookworm-based SDK image.
   
   **Changes**
   - `sdks/python/container/Dockerfile`: `-bookworm` → `-trixie` (SDK + ML 
images, py311–py314)
   - `sdks/python/expansion-service-container/Dockerfile`: `-bookworm` → 
`-trixie`
   - `sdks/python/test-suites/direct/common.gradle`: Azure IT base image → 
`-trixie`
   - Docs: custom container examples updated to `python:3.11-trixie`
   - `CHANGES.md`: Breaking Changes entry (renamed apt packages, GCC 14, how to 
stay on bookworm)
   
   This is a hard switch in one release. No `-bookworm` tag will be published.
   
   **Local validation (arm64, py312)**
   - `python:3.11`–`3.14-trixie` are available for amd64 and arm64
   - `./gradlew :sdks:python:container:py312:docker` builds successfully
   - Debian 13, glibc 2.41, GCC 14.2, OpenSSL 3.5. Beam Cython extensions 
compile; `pip check` is clean; the upb protobuf check, `ensurepip`, the `boot` 
launcher and `gcloud` work
   
   **Postcommits triggered**
   - beam_PostCommit_Python_ValidatesContainer_Dataflow (SDK + distroless)
   - beam_PostCommit_Python_Arm
   - beam_PostCommit_Python (includes Azure IT)
   - beam_PostCommit_XVR_JavaUsingPython_Dataflow
   - beam_PostCommit_TransformService_Direct
   
   ------------------------
   
   Thank you for your contribution! Follow this checklist to help us 
incorporate your contribution quickly and easily:
   
    - [x] Mention the appropriate issue in your description (for example: 
`addresses #123`), if applicable. This will automatically add a link to the 
pull request in the issue. If you would like the issue to automatically close 
on merging the pull request, comment `fixes #<ISSUE NUMBER>` instead.
    - [x] Update `CHANGES.md` with noteworthy changes.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
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]

Reply via email to