Add python version annotation#2123
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a helper function to parse and clean Python version strings from Debian packages, and adds a python version annotation to the generated OCI images. The reviewer suggested a more robust implementation for parsing Debian package versions using partition and rpartition to correctly handle cases where upstream versions contain hyphens or colons.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
🌳 🔧 Config Check This pull request has not modified the root BUILD |
ebff3d1 to
90be411
Compare
Signed-off-by: Appu <appu@google.com>
90be411 to
30f68c3
Compare
|
🌳 🔄 Image Check This pull request has modified the following images: //python3:python3_nonroot_amd64_debian13
//python3:python3_debug_nonroot_amd64_debian13
//python3:python3_nonroot_arm64_debian13
//python3:python3_nonroot_arm64_debian13
//python3:python3_debug_nonroot_arm64_debian13
//python3:python3_root_riscv64_debian13
//python3:python3_debug_nonroot_arm64_debian13
//python3:python3_root_arm64_debian13
//python3:python3_root_arm64_debian13
//python3:python3_root_amd64_debian13
//python3:python3_nonroot_riscv64_debian13
//python3:python3_debug_root_riscv64_debian13
//python3:python3_root_riscv64_debian13
//python3:python3_debug_root_riscv64_debian13
//python3:python3_debug_root_amd64_debian13
//python3:python3_debug_root_arm64_debian13
//python3:python3_debug_nonroot_amd64_debian13
//python3:python3_debug_root_arm64_debian13
//python3:python3_debug_nonroot_riscv64_debian13
//python3:python3_root_amd64_debian13
//python3:python3_debug_root_amd64_debian13
//python3:python3_nonroot_amd64_debian13
//python3:python3_debug_nonroot_riscv64_debian13
//python3:python3_nonroot_riscv64_debian13You can check the details in the report here |
extends #2111 for python images