From 5de8b037808b2aaee05ee9fc866d6e4b7d9e0aa5 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 13 Oct 2021 13:20:28 -0400 Subject: [PATCH 1/3] feat: add support for python 3.10 (#96) --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 129d35d..ceb2f55 100644 --- a/setup.py +++ b/setup.py @@ -60,6 +60,8 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", ], From 274964d224dc0a7f9b115cfe845b7c551a3385a0 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 21 Oct 2021 11:03:51 -0400 Subject: [PATCH 2/3] chore: delete owlbot.py (#99) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: delete owlbot.py * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 2 +- docs/index.rst | 7 +++--- noxfile.py | 2 +- owlbot.py | 45 ------------------------------------- testing/constraints-3.6.txt | 3 +++ 5 files changed, 9 insertions(+), 50 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/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") 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 5a31bddb4c7c64bee18df97fbf631b50edf93551 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 25 Oct 2021 14:12:10 +0000 Subject: [PATCH 3/3] chore: release 0.5.0 (#97) :robot: I have created a release \*beep\* \*boop\* --- ## [0.5.0](https://www.github.com/googleapis/python-data-qna/compare/v0.4.0...v0.5.0) (2021-10-21) ### Features * add support for python 3.10 ([#96](https://www.github.com/googleapis/python-data-qna/issues/96)) ([5de8b03](https://www.github.com/googleapis/python-data-qna/commit/5de8b037808b2aaee05ee9fc866d6e4b7d9e0aa5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 243d8a4..05569cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.5.0](https://www.github.com/googleapis/python-data-qna/compare/v0.4.0...v0.5.0) (2021-10-21) + + +### Features + +* add support for python 3.10 ([#96](https://www.github.com/googleapis/python-data-qna/issues/96)) ([5de8b03](https://www.github.com/googleapis/python-data-qna/commit/5de8b037808b2aaee05ee9fc866d6e4b7d9e0aa5)) + ## [0.4.0](https://www.github.com/googleapis/python-data-qna/compare/v0.3.3...v0.4.0) (2021-10-08) diff --git a/setup.py b/setup.py index ceb2f55..f936a31 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ import os import setuptools # type: ignore -version = "0.4.0" +version = "0.5.0" package_root = os.path.abspath(os.path.dirname(__file__))