From fdfcf6f0c93f04e9687b3e9900ceab1f152f18d6 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 21 Oct 2021 13:51:29 +0000 Subject: [PATCH 1/2] chore: delete owlbot.py --- .github/.OwlBot.lock.yaml | 2 +- owlbot.py | 45 ------------------------------------- testing/constraints-3.6.txt | 3 +++ 3 files changed, 4 insertions(+), 46 deletions(-) delete mode 100644 owlbot.py diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 7d98291..70dcbbb 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:58f73ba196b5414782605236dd0712a73541b44ff2ff4d3a36ec41092dd6fa5b + digest: sha256:3f66ebf145a16bb07a2fcbdb79bcb5743a791e3dc46015b0de22cacdd2875f64 diff --git a/owlbot.py b/owlbot.py deleted file mode 100644 index 2cd4ce0..0000000 --- a/owlbot.py +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated parts of this library.""" - -import os - -import synthtool as s -import synthtool.gcp as gcp -from synthtool.languages import python - -common = gcp.CommonTemplates() - -default_version = "v1alpha" - -for library in s.get_staging_dirs(default_version): - s.move(library, excludes=["setup.py", "README.rst", "docs/index.rst"]) - -s.remove_staging_dirs() - -# ---------------------------------------------------------------------------- -# Add templated files -# ---------------------------------------------------------------------------- - -templated_files = common.py_library(cov_level=98, microgenerator=True) -python.py_samples(skip_readmes=True) -s.move(templated_files, excludes=[ - # the microgenerator has a good coverage rc file - ".coveragerc", -]) - - -s.shell.run(["nox", "-s", "blacken"], hide_output=False) - diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 3ba086c..3ac91c6 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -8,3 +8,6 @@ google-api-core==1.26.0 proto-plus==1.10.0 packaging==14.3 +# TODO: remove once google-auth>=1.25.0 is required transitively +# through google-api-core>=1.28.0 +google-auth==1.24.0 From c1546420e1c41375f7fe5323972dba6a4b8bef54 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 21 Oct 2021 13:57:30 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- docs/index.rst | 7 ++++--- noxfile.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index c3959b4..40ce1a4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,6 +2,7 @@ .. include:: multiprocessing.rst + API Reference ------------- .. toctree:: @@ -10,13 +11,13 @@ API Reference dataqna_v1alpha/services dataqna_v1alpha/types + Changelog --------- For a list of all ``google-cloud-data-qna`` releases: .. toctree:: - :maxdepth: 2 - - changelog + :maxdepth: 2 + changelog diff --git a/noxfile.py b/noxfile.py index 672b28d..2bb4cf7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -175,7 +175,7 @@ def cover(session): test runs (not system test runs), and then erases coverage data. """ session.install("coverage", "pytest-cov") - session.run("coverage", "report", "--show-missing", "--fail-under=98") + session.run("coverage", "report", "--show-missing", "--fail-under=100") session.run("coverage", "erase")