From a7e5c9c6cecdafb1c5eb02fb85d205a934025f0b Mon Sep 17 00:00:00 2001 From: Amy Wu Date: Mon, 14 Sep 2026 16:18:24 -0700 Subject: [PATCH] chore: Build google-cloud-agentplatform on a Python 3.10 image PiperOrigin-RevId: 981421882 --- .kokoro/release/release-agentplatform.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.kokoro/release/release-agentplatform.cfg b/.kokoro/release/release-agentplatform.cfg index f2fc326d39..c6f0c3a7ca 100644 --- a/.kokoro/release/release-agentplatform.cfg +++ b/.kokoro/release/release-agentplatform.cfg @@ -4,10 +4,12 @@ build_file: "google3/third_party/py/google/cloud/aiplatform/.kokoro/release/agentplatform.sh" -# Python image: this builds an sdist and a wheel, so the JVM-oriented images -# used by other release jobs are not suitable. +# 22.04 rather than 20.04: the package requires Python >= 3.10, and so do the +# current releases of `build` and `twine`. On 20.04's Python 3.8 pip resolves +# back to build 1.2.2.post1, the last release that still supported 3.8. This +# image carries python3, pip and pyenv. container_properties { - docker_image: "us-central1-docker.pkg.dev/kokoro-container-bakery/kokoro/ubuntu/ubuntu2004/python:current" + docker_image: "us-central1-docker.pkg.dev/kokoro-container-bakery/kokoro/ubuntu/ubuntu2204/full:current" } fileset_artifacts: {