diff --git a/packages/google-cloud-iam/.kokoro/test-samples.sh b/packages/google-cloud-iam/.kokoro/test-samples.sh index 5601ce06b327..77146e0cc6ba 100755 --- a/packages/google-cloud-iam/.kokoro/test-samples.sh +++ b/packages/google-cloud-iam/.kokoro/test-samples.sh @@ -87,11 +87,11 @@ for file in samples/**/requirements.txt; do python3.6 -m nox -s "$RUN_TESTS_SESSION" EXIT=$? - # If this is a periodic build, send the test log to the FlakyBot. - # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot. + # If this is a periodic build, send the test log to the Build Cop Bot. + # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop. if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then - chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot - $KOKORO_GFILE_DIR/linux_amd64/flakybot + chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop + $KOKORO_GFILE_DIR/linux_amd64/buildcop fi if [[ $EXIT -ne 0 ]]; then diff --git a/packages/google-cloud-iam/.kokoro/trampoline_v2.sh b/packages/google-cloud-iam/.kokoro/trampoline_v2.sh index 4af6cdc26dbc..719bcd5ba84d 100755 --- a/packages/google-cloud-iam/.kokoro/trampoline_v2.sh +++ b/packages/google-cloud-iam/.kokoro/trampoline_v2.sh @@ -159,7 +159,7 @@ if [[ -n "${KOKORO_BUILD_ID:-}" ]]; then "KOKORO_GITHUB_COMMIT" "KOKORO_GITHUB_PULL_REQUEST_NUMBER" "KOKORO_GITHUB_PULL_REQUEST_COMMIT" - # For FlakyBot + # For Build Cop Bot "KOKORO_GITHUB_COMMIT_URL" "KOKORO_GITHUB_PULL_REQUEST_URL" ) diff --git a/packages/google-cloud-iam/scripts/fixup_credentials_v1_keywords.py b/packages/google-cloud-iam/scripts/fixup_credentials_v1_keywords.py index 128e8d3a1be8..acac0cba1eb2 100644 --- a/packages/google-cloud-iam/scripts/fixup_credentials_v1_keywords.py +++ b/packages/google-cloud-iam/scripts/fixup_credentials_v1_keywords.py @@ -18,16 +18,11 @@ import argparse import os +import libcst as cst import pathlib import sys from typing import (Any, Callable, Dict, List, Sequence, Tuple) -try: - import libcst as cst -except ImportError: - print("*** Could not import libcst! Did you install the google-cloud-iam package with the `[fixup]` extra?") - raise - def partition( predicate: Callable[[Any], bool], diff --git a/packages/google-cloud-iam/synth.metadata b/packages/google-cloud-iam/synth.metadata index c5ade6817870..dec9fae39888 100644 --- a/packages/google-cloud-iam/synth.metadata +++ b/packages/google-cloud-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-iam.git", - "sha": "29746e1984fc3942d830f54a9e921151d4d720c1" + "sha": "6f08bcabe0d519ffba62dba30b46a5da9bb40282" } }, {