Skip to content

Commit

Permalink
chore: remove nox uninstall/reinstall from python build.sh template (#…
Browse files Browse the repository at this point in the history
…1935)

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.
  • Loading branch information
shollyman committed Mar 15, 2024
1 parent d895aec commit 2635888
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions synthtool/gcp/templates/python_library/.kokoro/build.sh
Expand Up @@ -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
Expand Down

0 comments on commit 2635888

Please sign in to comment.