From ef1cf3f21b98bae69dbe71c56a215ab59a97ae86 Mon Sep 17 00:00:00 2001 From: Seth Hollyman Date: Thu, 7 Mar 2024 21:20:01 +0000 Subject: [PATCH] feat: remove nox uninstall/reinstall from python build.sh template This PR removes the steps that uninstall/reinstall nox and report the version from build.sh, as nox should be included as part of the base python docker image used for testing. --- synthtool/gcp/templates/python_library/.kokoro/build.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/synthtool/gcp/templates/python_library/.kokoro/build.sh b/synthtool/gcp/templates/python_library/.kokoro/build.sh index 9c0da4180..cf531f203 100755 --- a/synthtool/gcp/templates/python_library/.kokoro/build.sh +++ b/synthtool/gcp/templates/python_library/.kokoro/build.sh @@ -33,13 +33,6 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json # Setup project id. export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json") -# Remove old nox -python3 -m pip uninstall --yes --quiet nox-automation - -# Install nox -python3 -m pip install --upgrade --quiet nox -python3 -m nox --version - # If this is a continuous build, send the test log to the FlakyBot. # See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot. if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then