From daeb51253d1356b5a588dafda9dede95120f8ab1 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Mon, 9 Nov 2020 17:18:42 -0800 Subject: [PATCH 1/6] Unpin google-cloud dependencies --- plugins/bigquery/setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/bigquery/setup.py b/plugins/bigquery/setup.py index f84f57382ac..33c54aeba35 100644 --- a/plugins/bigquery/setup.py +++ b/plugins/bigquery/setup.py @@ -48,10 +48,10 @@ install_requires=[ 'dbt-core=={}'.format(package_version), 'protobuf>=3.6.0,<3.12', - 'google-cloud-core>=1.3.0,<1.4', - 'google-cloud-bigquery>=1.25.0,<1.26.0', - 'google-api-core>=1.16.0,<1.17.0', - 'googleapis-common-protos>=1.6.0,<1.7.0', + 'google-cloud-core>=1.3.0,<2', + 'google-cloud-bigquery>=1.25.0,<2', + 'google-api-core>=1.16.0,<2', + 'googleapis-common-protos>=1.6.0,<2', 'six>=1.14.0', ], zip_safe=False, From 7aa8c435c972ffa24f6d29ec8abbfd67a928c125 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Mon, 9 Nov 2020 17:36:41 -0800 Subject: [PATCH 2/6] Bump protobuf too --- plugins/bigquery/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bigquery/setup.py b/plugins/bigquery/setup.py index 33c54aeba35..58afa696104 100644 --- a/plugins/bigquery/setup.py +++ b/plugins/bigquery/setup.py @@ -47,7 +47,7 @@ }, install_requires=[ 'dbt-core=={}'.format(package_version), - 'protobuf>=3.6.0,<3.12', + 'protobuf>=3.13.0,<4', 'google-cloud-core>=1.3.0,<2', 'google-cloud-bigquery>=1.25.0,<2', 'google-api-core>=1.16.0,<2', From 8c7148875779e34080abaab0b384762d73330a84 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Tue, 10 Nov 2020 08:38:43 -0800 Subject: [PATCH 3/6] _ From f98390059723c43193fe5978aa742e6673b87c44 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Tue, 10 Nov 2020 23:51:15 -0800 Subject: [PATCH 4/6] google-cloud-bigquery goes to 3 --- plugins/bigquery/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bigquery/setup.py b/plugins/bigquery/setup.py index 58afa696104..38fae2eb124 100644 --- a/plugins/bigquery/setup.py +++ b/plugins/bigquery/setup.py @@ -49,7 +49,7 @@ 'dbt-core=={}'.format(package_version), 'protobuf>=3.13.0,<4', 'google-cloud-core>=1.3.0,<2', - 'google-cloud-bigquery>=1.25.0,<2', + 'google-cloud-bigquery>=1.25.0,<3', 'google-api-core>=1.16.0,<2', 'googleapis-common-protos>=1.6.0,<2', 'six>=1.14.0', From 8538bec99e1ba3b0b99e4c034ea84cadbbede7a6 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Wed, 11 Nov 2020 13:48:41 -0800 Subject: [PATCH 5/6] _ --- plugins/bigquery/setup.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/bigquery/setup.py b/plugins/bigquery/setup.py index 38fae2eb124..ed91f729d0c 100644 --- a/plugins/bigquery/setup.py +++ b/plugins/bigquery/setup.py @@ -48,10 +48,12 @@ install_requires=[ 'dbt-core=={}'.format(package_version), 'protobuf>=3.13.0,<4', - 'google-cloud-core>=1.3.0,<2', - 'google-cloud-bigquery>=1.25.0,<3', - 'google-api-core>=1.16.0,<2', - 'googleapis-common-protos>=1.6.0,<2', + # These are more tightly pinned, as they have a track record of + # breaking changes in minor releases. + 'google-cloud-core>=1.3.0,<1.5', + 'google-cloud-bigquery>=1.25.0,<2.4', + 'google-api-core>=1.16.0,<1.24', + 'googleapis-common-protos>=1.6.0,<1.53', 'six>=1.14.0', ], zip_safe=False, From afb7fc05da41288c9e87cbcd8b6b296631c720ff Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Fri, 20 Nov 2020 14:58:46 -0800 Subject: [PATCH 6/6] Changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c92f4b54834..85bbc02932b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Fix Redshift adapter `get_columns_in_relation` macro to push schema filter down to the `svv_external_columns` view ([#2855](https://github.com/fishtown-analytics/dbt/issues/2854)) - Add `unixodbc-dev` package to testing docker image ([#2859](https://github.com/fishtown-analytics/dbt/pull/2859)) - Increased the supported relation name length in postgres from 29 to 51 ([#2850](https://github.com/fishtown-analytics/dbt/pull/2850)) +- Widen supported Google Cloud libraries dependencies ([#2877](https://github.com/fishtown-analytics/dbt/pull/2877#issuecomment-731434482)). Contributors: - [@feluelle](https://github.com/feluelle) ([#2841](https://github.com/fishtown-analytics/dbt/pull/2841)) @@ -18,6 +19,7 @@ Contributors: - [@brangisom](https://github.com/brangisom) [#2855](https://github.com/fishtown-analytics/dbt/pull/2855) - [@elexisvenator](https://github.com/elexisvenator) ([#2850](https://github.com/fishtown-analytics/dbt/pull/2850)) - [@franloza](https://github.com/franloza) ([#2837](https://github.com/fishtown-analytics/dbt/pull/2837)) +- [@max-sixty](https://github.com/max-sixty) ([#2877](https://github.com/fishtown-analytics/dbt/pull/2877)) ## dbt 0.19.0b1 (October 21, 2020)