From eaaea085755d93afb88aa48d0ec81d69cbf67972 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 17 Aug 2021 18:50:16 +0000 Subject: [PATCH 01/41] chore(deps): update dependency charset-normalizer to v2.0.4 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..2901c17d 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -3,7 +3,7 @@ attrs==21.2.0 cachetools==4.2.2 certifi==2021.5.30 cffi==1.14.6 -charset-normalizer==2.0.3 +charset-normalizer==2.0.4 click==8.0.1 click-plugins==1.1.1 cligj==0.7.2 From 1bdba0a3fae471b455b2c0d2942935ccd8d96978 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Aug 2021 18:51:48 +0000 Subject: [PATCH 02/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From dfe9929426d9f059b8ec34c7c941c174686aea94 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 17 Aug 2021 20:52:42 +0000 Subject: [PATCH 03/41] chore(deps): update dependency google-cloud-bigquery-storage to v2.6.3 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..fd878e8a 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -17,7 +17,7 @@ geopandas==0.9.0 google-api-core==1.31.1 google-auth==1.34.0 google-cloud-bigquery==2.23.2 -google-cloud-bigquery-storage==2.6.2 +google-cloud-bigquery-storage==2.6.3 google-cloud-core==1.7.2 google-crc32c==1.1.2 google-resumable-media==1.3.2 From a37ce54c8371f4add73ec3159f6ae2e7d7fcf1c8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 17 Aug 2021 20:52:46 +0000 Subject: [PATCH 04/41] chore(deps): update dependency google-resumable-media to v1.3.3 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..462deebc 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -20,7 +20,7 @@ google-cloud-bigquery==2.23.2 google-cloud-bigquery-storage==2.6.2 google-cloud-core==1.7.2 google-crc32c==1.1.2 -google-resumable-media==1.3.2 +google-resumable-media==1.3.3 googleapis-common-protos==1.53.0 greenlet==1.1.0 grpcio==1.39.0 From 929a3eb83c7a747cc22f4d86541896117fd41a3d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Aug 2021 20:54:31 +0000 Subject: [PATCH 05/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 76f6643789f3ea1af90cb8c6112eab0fc46bd7e4 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Aug 2021 20:56:37 +0000 Subject: [PATCH 06/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 060ed72184b2ce4a5af046cb51f4803895215a20 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 17 Aug 2021 22:42:08 +0000 Subject: [PATCH 07/41] chore(deps): update dependency greenlet to v1.1.1 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..2756a1f1 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -22,7 +22,7 @@ google-cloud-core==1.7.2 google-crc32c==1.1.2 google-resumable-media==1.3.2 googleapis-common-protos==1.53.0 -greenlet==1.1.0 +greenlet==1.1.1 grpcio==1.39.0 idna==3.2 immutables==0.15 From ca66405ea4dfb8e628f57998e8d040143df46e15 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 17 Aug 2021 22:42:11 +0000 Subject: [PATCH 08/41] chore(deps): update dependency importlib-metadata to v4.6.4 --- samples/snippets/requirements-test.txt | 2 +- samples/snippets/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index ceda9ac3..d51249fe 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1,6 +1,6 @@ attrs==21.2.0 google-cloud-testutils==1.0.0 -importlib-metadata==4.6.1 +importlib-metadata==4.6.4 iniconfig==1.1.1 packaging==21.0 pluggy==0.13.1 diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..80c917ca 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -26,7 +26,7 @@ greenlet==1.1.0 grpcio==1.39.0 idna==3.2 immutables==0.15 -importlib-metadata==4.6.1 +importlib-metadata==4.6.4 libcst==0.3.19 munch==2.5.0 mypy-extensions==0.4.3 From 0280b5edde21d65d0dfa15424a1078136cc6665a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Aug 2021 22:43:32 +0000 Subject: [PATCH 09/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From f2a4a5ddefc627b6b0f8970aa9c7c1005371c779 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Aug 2021 22:44:14 +0000 Subject: [PATCH 10/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From b380488b3acf88b6a7abefeda1e188003de5ccc9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 00:55:17 +0000 Subject: [PATCH 11/41] chore(deps): update dependency libcst to v0.3.20 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..58848140 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -27,7 +27,7 @@ grpcio==1.39.0 idna==3.2 immutables==0.15 importlib-metadata==4.6.1 -libcst==0.3.19 +libcst==0.3.20 munch==2.5.0 mypy-extensions==0.4.3 numpy==1.19.5 From 6236b267eaa44310175aa33adfaf80e4e1fe3321 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 00:55:20 +0000 Subject: [PATCH 12/41] chore(deps): update dependency pybigquery to v0.10.1 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..3abb0dd7 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -42,7 +42,7 @@ protobuf==3.17.3 pyarrow==5.0.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 -pybigquery==0.10.0 +pybigquery==0.10.1 pycparser==2.20 pyparsing==2.4.7 pyproj==3.0.1 From 6296d3610a43b5947bfca6a4f18b56478a57c8ab Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 00:56:43 +0000 Subject: [PATCH 13/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From bf4f711ea699fe13ee2327e0dc0feb0fbc0b0b74 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 00:57:24 +0000 Subject: [PATCH 14/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 631e6f7b30426094f01cd2d768ee3ac19d01e4ff Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 02:58:25 +0000 Subject: [PATCH 15/41] chore(deps): update dependency dataclasses to v0.8 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..12126c4c 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -8,7 +8,7 @@ click==8.0.1 click-plugins==1.1.1 cligj==0.7.2 contextvars==2.4 -dataclasses==0.6 +dataclasses==0.8 Deprecated==1.2.12 Fiona==1.8.20 future==0.18.2 From cd00fe36ef3b5ce4d89fe10729c51ca375126147 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 02:58:28 +0000 Subject: [PATCH 16/41] chore(deps): update dependency google-auth to v1.35.0 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..ad2aae4f 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -15,7 +15,7 @@ future==0.18.2 GeoAlchemy2==0.9.3 geopandas==0.9.0 google-api-core==1.31.1 -google-auth==1.34.0 +google-auth==1.35.0 google-cloud-bigquery==2.23.2 google-cloud-bigquery-storage==2.6.2 google-cloud-core==1.7.2 From c1571cd1e2c6e3bd97c7938a8dbd32b808abdbf8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 02:59:52 +0000 Subject: [PATCH 17/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 9290e9da32ee61336a130c5ffd58c60022699307 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 03:01:07 +0000 Subject: [PATCH 18/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 06223a9d95b150f696446ff8642a50e081556754 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 04:09:56 +0000 Subject: [PATCH 19/41] chore(deps): update dependency google-cloud-bigquery to v2.24.0 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..9f4ec30d 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -16,7 +16,7 @@ GeoAlchemy2==0.9.3 geopandas==0.9.0 google-api-core==1.31.1 google-auth==1.34.0 -google-cloud-bigquery==2.23.2 +google-cloud-bigquery==2.24.0 google-cloud-bigquery-storage==2.6.2 google-cloud-core==1.7.2 google-crc32c==1.1.2 From 0341052e8ded82096474e424a1668054a2c6a9e1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 04:11:18 +0000 Subject: [PATCH 20/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From a2d13cda822387516785c4fcbb95e849cfb4b7c8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 05:12:16 +0000 Subject: [PATCH 21/41] chore(deps): update dependency numpy to v1.21.2 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..ea3bf075 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -30,7 +30,7 @@ importlib-metadata==4.6.1 libcst==0.3.19 munch==2.5.0 mypy-extensions==0.4.3 -numpy==1.19.5 +numpy==1.21.2 opentelemetry-api==1.4.1 opentelemetry-instrumentation==0.23b2 opentelemetry-sdk==1.4.1 From 5333451c5d83152d46307cdea59594d6e0ae03c5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 05:12:22 +0000 Subject: [PATCH 22/41] chore(deps): update dependency pandas to v1.3.2 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..f242b4d5 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -36,7 +36,7 @@ opentelemetry-instrumentation==0.23b2 opentelemetry-sdk==1.4.1 opentelemetry-semantic-conventions==0.23b2 packaging==21.0 -pandas==1.1.5 +pandas==1.3.2 proto-plus==1.19.0 protobuf==3.17.3 pyarrow==5.0.0 From 48acc0bc79bd3da82b50cdbaaea6201fd09d99bc Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 05:13:43 +0000 Subject: [PATCH 23/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 405fc854cd3d8d984b10949078f5ca2caf662df2 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 05:14:47 +0000 Subject: [PATCH 24/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From fd942146dc8c3ca4154448029acc96cc944dd627 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 08:23:47 +0000 Subject: [PATCH 25/41] chore(deps): update dependency pyproj to v3.1.0 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..43a7799f 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -45,7 +45,7 @@ pyasn1-modules==0.2.8 pybigquery==0.10.0 pycparser==2.20 pyparsing==2.4.7 -pyproj==3.0.1 +pyproj==3.1.0 python-dateutil==2.8.2 pytz==2021.1 PyYAML==5.4.1 From 88a011b74b93bb8d255ea143484b3f18ff967cec Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 08:25:22 +0000 Subject: [PATCH 26/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From 4bd9c9f6f65706b1e3359d80cf4510d7cd6bcfc0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 09:34:43 +0000 Subject: [PATCH 27/41] chore(deps): update dependency google-auth to v2 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 621dd3ba..7a9d8895 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -15,7 +15,7 @@ future==0.18.2 GeoAlchemy2==0.9.3 geopandas==0.9.0 google-api-core==1.31.1 -google-auth==1.34.0 +google-auth==2.0.0 google-cloud-bigquery==2.23.2 google-cloud-bigquery-storage==2.6.2 google-cloud-core==1.7.2 From a11dede015d797de433a52fac91f2fe08e490acd Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Aug 2021 09:36:03 +0000 Subject: [PATCH 28/41] =?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 --- samples/snippets/noxfile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index 9fc7f178..b008613f 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -39,7 +39,7 @@ TEST_CONFIG = { # You can opt out from the test for specific Python versions. - "ignored_versions": ["2.7"], + "ignored_versions": [], # Old samples are opted out of enforcing Python type hints # All new samples should feature them "enforce_type_hints": False, @@ -86,15 +86,18 @@ def get_pytest_env_vars() -> Dict[str, str]: # DO NOT EDIT - automatically generated. -# All versions used to tested samples. -ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] +# All versions used to test samples. +ALL_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] # Any default versions that should be ignored. IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ( + "True", + "true", +) # # Style Checks # From e42e7951ae63ddff12a6580270c08dacbcaaaea5 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 08:06:31 -0400 Subject: [PATCH 29/41] Update requirements.txt --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 3abb0dd7..71caac68 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -42,7 +42,7 @@ protobuf==3.17.3 pyarrow==5.0.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 -pybigquery==0.10.1 +sqlalchemy-bigquery==1.0.0 pycparser==2.20 pyparsing==2.4.7 pyproj==3.0.1 From de5438a9f946a687cf215bfad195a75063ac0ba3 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 11:33:48 -0400 Subject: [PATCH 30/41] minor sorting --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index ef9b8ab1..4435fbe7 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -42,7 +42,6 @@ protobuf==3.17.3 pyarrow==5.0.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 -sqlalchemy-bigquery==1.0.0 pycparser==2.20 pyparsing==2.4.7 pyproj==3.0.1 @@ -54,6 +53,7 @@ rsa==4.7.2 Shapely==1.7.1 six==1.16.0 SQLAlchemy==1.4.22 +sqlalchemy-bigquery==1.0.0 tqdm==4.62.1 typing-extensions==3.10.0.0 typing-inspect==0.7.1 From 5e0c4fe4b5d245ce42750aa1696d5622e644a22d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Aug 2021 18:26:56 +0000 Subject: [PATCH 31/41] chore(deps): update dependency sqlalchemy to v1.4.23 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 4435fbe7..2d3f9331 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -52,7 +52,7 @@ requests==2.26.0 rsa==4.7.2 Shapely==1.7.1 six==1.16.0 -SQLAlchemy==1.4.22 +SQLAlchemy==1.4.23 sqlalchemy-bigquery==1.0.0 tqdm==4.62.1 typing-extensions==3.10.0.0 From 49635ea297fb5c1bce4f941b42d31853684d4735 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 14:31:40 -0400 Subject: [PATCH 32/41] Use older pyproj for Python 3.6 --- samples/snippets/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 6d34614f..1a0d79b3 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -44,7 +44,8 @@ pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.20 pyparsing==2.4.7 -pyproj==3.1.0 +pyproj==3.0.1; python_version < '3.7' +pyproj==3.1.0; python_version >= '3.7' python-dateutil==2.8.2 pytz==2021.1 PyYAML==5.4.1 From 3f35c23f5852c0c7c5016713aa5dfb3d03b18c8c Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 14:36:20 -0400 Subject: [PATCH 33/41] Use older version of pandas for Python 3.6 --- samples/snippets/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index aa7ced40..143397c5 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -36,7 +36,8 @@ opentelemetry-instrumentation==0.23b2 opentelemetry-sdk==1.4.1 opentelemetry-semantic-conventions==0.23b2 packaging==21.0 -pandas==1.3.2 +pandas==1.1.5; python_version < '3.7' +pandas==1.3.2; python_version >= '3.7' proto-plus==1.19.0 protobuf==3.17.3 pyarrow==5.0.0 From 3edf30851c86229b6005318f3752245d4781b719 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 14:40:23 -0400 Subject: [PATCH 34/41] Use older numpy for Python 3.6 --- samples/snippets/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index d4f4027c..12e31c33 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -30,7 +30,8 @@ importlib-metadata==4.6.4 libcst==0.3.20 munch==2.5.0 mypy-extensions==0.4.3 -numpy==1.21.2 +numpy==1.19.5; python_version < '3.7' +numpy==1.21.2; python_version >= '3.7' opentelemetry-api==1.4.1 opentelemetry-instrumentation==0.23b2 opentelemetry-sdk==1.4.1 From f4258a653568289bdadeccd42233e0e1ac883e38 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 14:43:40 -0400 Subject: [PATCH 35/41] Use older dataclasses for Python 3.8 and earlier --- samples/snippets/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 75173978..76a88344 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -8,7 +8,8 @@ click==8.0.1 click-plugins==1.1.1 cligj==0.7.2 contextvars==2.4 -dataclasses==0.8 +dataclasses==0.6; python_version < '3.9' +dataclasses==0.8; python_version >= '3.9' Deprecated==1.2.12 Fiona==1.8.20 future==0.18.2 From bd5dc0bf5c9cf70f7719542bf346c0228c3a721b Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Wed, 18 Aug 2021 14:46:21 -0400 Subject: [PATCH 36/41] Don't need dataclasses for 3.7 and later, as they're in the standard library --- samples/snippets/requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 76a88344..c2a3af35 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -8,8 +8,7 @@ click==8.0.1 click-plugins==1.1.1 cligj==0.7.2 contextvars==2.4 -dataclasses==0.6; python_version < '3.9' -dataclasses==0.8; python_version >= '3.9' +dataclasses==0.6; python_version < '3.7' Deprecated==1.2.12 Fiona==1.8.20 future==0.18.2 From 04f206098b05956cccba1fdcd69819597f64b8bc Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 19 Aug 2021 12:25:06 +0000 Subject: [PATCH 37/41] chore(deps): update dependency google-api-core to v2 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 95be528e..b07d4e94 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -14,7 +14,7 @@ Fiona==1.8.20 future==0.18.2 GeoAlchemy2==0.9.3 geopandas==0.9.0 -google-api-core==1.31.2 +google-api-core==2.0.0 google-auth==1.35.0 google-cloud-bigquery==2.24.0 google-cloud-bigquery-storage==2.6.3 From 047633cde1919cb6a4c78dc04894792218fd5b3c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 19 Aug 2021 12:25:10 +0000 Subject: [PATCH 38/41] chore(deps): update dependency google-cloud-core to v2 --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 95be528e..80501aad 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -18,7 +18,7 @@ google-api-core==1.31.2 google-auth==1.35.0 google-cloud-bigquery==2.24.0 google-cloud-bigquery-storage==2.6.3 -google-cloud-core==1.7.2 +google-cloud-core==2.0.0 google-crc32c==1.1.2 google-resumable-media==1.3.3 googleapis-common-protos==1.53.0 From 4f56e54aaa7bf08c21cbcfe166481e2417c8bd05 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Thu, 19 Aug 2021 10:23:34 -0400 Subject: [PATCH 39/41] require google-cloud-bigquery 2.24.1 (or greater) --- samples/snippets/requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 1c2aeae4..48cfb78d 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -16,7 +16,7 @@ GeoAlchemy2==0.9.3 geopandas==0.9.0 google-api-core==2.0.0 google-auth==2.0.0 -google-cloud-bigquery==2.24.0 +google-cloud-bigquery==2.24.1 google-cloud-bigquery-storage==2.6.3 google-cloud-core==2.0.0 google-crc32c==1.1.2 diff --git a/setup.py b/setup.py index 378e3a23..c7434aba 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ def readme(): # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 "google-auth>=1.25.0,<3.0.0dev", # Work around pip wack. - "google-cloud-bigquery>=2.19.0", + "google-cloud-bigquery>=2.24.1", "sqlalchemy>=1.2.0,<1.5.0dev", "future", ], From 66b143371a8613747b03a7442cf63c5df7dc7195 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Thu, 19 Aug 2021 10:46:46 -0400 Subject: [PATCH 40/41] Include tests dependencies in noxfile --- noxfile.py | 12 ++++++------ owlbot.py | 6 +++--- setup.py | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/noxfile.py b/noxfile.py index 8404d6d2..795acc49 100644 --- a/noxfile.py +++ b/noxfile.py @@ -99,11 +99,11 @@ def default(session): ) if session.python == "3.8": - extras = "[alembic]" + extras = "[tests,alembic]" elif session.python == "3.9": - extras = "[geography]" + extras = "[tests,geography]" else: - extras = "" + extras = "[tests]" session.install("-e", f".{extras}", "-c", constraints_path) # Run py.test against the unit tests. @@ -157,11 +157,11 @@ def system(session): # virtualenv's dist-packages. session.install("mock", "pytest", "google-cloud-testutils", "-c", constraints_path) if session.python == "3.8": - extras = "[alembic]" + extras = "[tests,alembic]" elif session.python == "3.9": - extras = "[geography]" + extras = "[tests,geography]" else: - extras = "" + extras = "[tests]" session.install("-e", f".{extras}", "-c", constraints_path) # Run py.test against the system tests. diff --git a/owlbot.py b/owlbot.py index 03cc243e..5fd7acd6 100644 --- a/owlbot.py +++ b/owlbot.py @@ -27,10 +27,10 @@ # ---------------------------------------------------------------------------- # Add templated files # ---------------------------------------------------------------------------- -extras = [] +extras = ["tests"] extras_by_python = { - "3.8": ["alembic"], - "3.9": ["geography"], + "3.8": ["tests", "alembic"], + "3.9": ["tests", "geography"], } templated_files = common.py_library( unit_test_python_versions=["3.6", "3.7", "3.8", "3.9"], diff --git a/setup.py b/setup.py index c7434aba..fd8a8acd 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def readme(): return f.read() -extras = dict(geography=["GeoAlchemy2", "shapely"], alembic=["alembic"],) +extras = dict(geography=["GeoAlchemy2", "shapely"], alembic=["alembic"], tests=["pytz"]) extras["all"] = set(itertools.chain.from_iterable(extras.values())) setup( From e2b87b7b33cd5ec2c2bb963e9d452bebb69f60f4 Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Thu, 19 Aug 2021 11:11:08 -0400 Subject: [PATCH 41/41] Include tests dependencies in noxfile for compliance tests --- noxfile.py | 6 +++--- owlbot.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/noxfile.py b/noxfile.py index 795acc49..823c72c2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -211,11 +211,11 @@ def compliance(session): constraints_path, ) if session.python == "3.8": - extras = "[alembic]" + extras = "[tests,alembic]" elif session.python == "3.9": - extras = "[geography]" + extras = "[tests,geography]" else: - extras = "" + extras = "[tests]" session.install("-e", f".{extras}", "-c", constraints_path) session.run( diff --git a/owlbot.py b/owlbot.py index 5fd7acd6..b6cfe7ff 100644 --- a/owlbot.py +++ b/owlbot.py @@ -135,11 +135,11 @@ def compliance(session): constraints_path, ) if session.python == "3.8": - extras = "[alembic]" + extras = "[tests,alembic]" elif session.python == "3.9": - extras = "[geography]" + extras = "[tests,geography]" else: - extras = "" + extras = "[tests]" session.install("-e", f".{extras}", "-c", constraints_path) session.run(