diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml deleted file mode 100644 index 311ebbb..0000000 --- a/.github/auto-approve.yml +++ /dev/null @@ -1,3 +0,0 @@ -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve -processes: - - "OwlBotTemplateChanges" diff --git a/.librarian/config.yaml b/.librarian/config.yaml deleted file mode 100644 index 111f94d..0000000 --- a/.librarian/config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -global_files_allowlist: - # Allow the container to read and write the root `CHANGELOG.md` - # file during the `release` step to update the latest client library - # versions which are hardcoded in the file. - - path: "CHANGELOG.md" - permissions: "read-write" diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 037948c..b1de495 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1,4 +1,4 @@ -image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator:latest +image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 libraries: - id: google-auth-oauthlib version: 1.2.3 diff --git a/owlbot.py b/owlbot.py deleted file mode 100644 index 991c36c..0000000 --- a/owlbot.py +++ /dev/null @@ -1,50 +0,0 @@ -import synthtool as s -from synthtool import gcp - -common = gcp.CommonTemplates() - -# ---------------------------------------------------------------------------- -# Add templated files -# ---------------------------------------------------------------------------- -templated_files = common.py_library( - microgenerator=True, - cov_level=99, - unit_test_external_dependencies=["click"], - unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"], - default_python_version="3.10", -) -s.move(templated_files, excludes=[ - "docs/multiprocessing.rst", - "README.rst", - "noxfile.py", - ".kokoro/samples/**", # this repository has no samples -]) - -# Change black paths -s.replace( - "noxfile.py", - """LINT_PATHS =.*""", - """LINT_PATHS = ["docs", "google_auth_oauthlib", "tests", "noxfile.py", "setup.py"]""", -) - -# Change flake8 paths -s.replace( - "noxfile.py", - 'session.run\("flake8", "google", "tests"\)', - 'session.run("flake8", *LINT_PATHS)', -) - -s.replace( - "noxfile.py", - '"--cov=google",', - '"--cov=google_auth_oauthlib",', -) - -# Skip Cpp Unittest in 3.11, 3.12, 3.13, and 3.14 -s.replace( - "noxfile.py", - '''session.python in \("3.11", "3.12", "3.13"\)''', - '''session.python in ("3.11", "3.12", "3.13", "3.14")''' -) - -s.shell.run(["nox", "-s", "blacken"], hide_output=False)