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: {