From b85da5bb7d6d6da60ff611221d3c4719eadb478a Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Wed, 3 Mar 2021 18:14:04 -0700 Subject: [PATCH 1/3] docs: add a link to the migration guide in the changelog (#1213) --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4a657b71da..204bb40a025 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ ### ⚠ BREAKING CHANGES -* **deps:** require 3.6+ (#961) +The 2.0 release of `google-api-python-client` is a significant upgrade compared to v1. Please see the [Migration Guide](UPGRADING.md) for more information. + +* **deps:** require 3.6+. (#961) ### Features From b5d33d6d520ca9589eefd08d34fe96844f420bce Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Wed, 3 Mar 2021 18:30:06 -0700 Subject: [PATCH 2/3] fix: add static discovery docs (#1216) Fixes #1214 The [MANIFEST.in](https://packaging.python.org/guides/using-manifest-in/) controls which files are included in the published package. You can verify that this fixes the problem (missing discovery docs leading to failing `discovery.build()` calls) by building the package and installing the library from the tarfile. - `python3 -m venv env` - `source env/bin/activate` - `python3 -m setup.py sdist` - `python3 -m pip install dist/google-api-python-client-2.0.0.tar.gz` ``` (env) busunkim@busunkim:~/github/google-api-python-client$ python3 Python 3.6.9 (default, Feb 24 2020, 21:10:07) [GCC 9.2.1 20190909] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import googleapiclient >>> from googleapiclient import discovery >>> client = discovery.build("cloudprofiler", "v2") >>> ``` --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index dc06524ba0a..5b18ef64d9d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ recursive-include apiclient *.json *.py +recursive-include googleapiclient *.json *.py include CHANGELOG include LICENSE include README From 401c05e23a09bb3b4a6def83b14a6487e7b546fe Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 4 Mar 2021 12:18:15 +0000 Subject: [PATCH 3/3] chore: release 2.0.1 (#1215) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.1](https://www.github.com/googleapis/google-api-python-client/compare/v2.0.0...v2.0.1) (2021-03-04) ### Bug Fixes * add static discovery docs ([#1216](https://www.github.com/googleapis/google-api-python-client/issues/1216)) ([b5d33d6](https://www.github.com/googleapis/google-api-python-client/commit/b5d33d6d520ca9589eefd08d34fe96844f420bce)) ### Documentation * add a link to the migration guide in the changelog ([#1213](https://www.github.com/googleapis/google-api-python-client/issues/1213)) ([b85da5b](https://www.github.com/googleapis/google-api-python-client/commit/b85da5bb7d6d6da60ff611221d3c4719eadb478a)) --- 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 | 12 ++++++++++++ setup.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 204bb40a025..6c614e99d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +### [2.0.1](https://www.github.com/googleapis/google-api-python-client/compare/v2.0.0...v2.0.1) (2021-03-04) + + +### Bug Fixes + +* add static discovery docs ([#1216](https://www.github.com/googleapis/google-api-python-client/issues/1216)) ([b5d33d6](https://www.github.com/googleapis/google-api-python-client/commit/b5d33d6d520ca9589eefd08d34fe96844f420bce)) + + +### Documentation + +* add a link to the migration guide in the changelog ([#1213](https://www.github.com/googleapis/google-api-python-client/issues/1213)) ([b85da5b](https://www.github.com/googleapis/google-api-python-client/commit/b85da5bb7d6d6da60ff611221d3c4719eadb478a)) + ## [2.0.0](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.8...v2.0.0) (2021-03-03) diff --git a/setup.py b/setup.py index 0f9a5434084..894018a1b1e 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ with io.open(readme_filename, encoding="utf-8") as readme_file: readme = readme_file.read() -version = "2.0.0" +version = "2.0.1" setup( name="google-api-python-client",