-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump google-cloud-spanner version for py containers #23480
Changes from 2 commits
c370fe9
a5da891
e701608
71fb187
a3158ea
2cd1c31
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -285,9 +285,6 @@ def get_portability_package_data(): | |
'gcp': [ | ||
'cachetools>=3.1.0,<5', | ||
'google-apitools>=0.5.31,<0.5.32', | ||
# Transitive dep. Required for google-cloud-spanner v1. | ||
# See: https://github.com/apache/beam/issues/22454 | ||
'google-api-core!=2.8.2,<3', | ||
# NOTE: Maintainers, please do not require google-auth>=2.x.x | ||
# Until this issue is closed | ||
# https://github.com/googleapis/google-cloud-python/issues/10566 | ||
|
@@ -301,8 +298,7 @@ def get_portability_package_data(): | |
'google-cloud-bigquery-storage>=2.6.3,<2.14', | ||
'google-cloud-core>=0.28.1,<3', | ||
'google-cloud-bigtable>=0.31.1,<2', | ||
# google-cloud-spanner 2.x causes dependency parsing backoff | ||
'google-cloud-spanner>=1.13.0,!=2,<4', | ||
'google-cloud-spanner>=3.0.0,<4', | ||
'grpcio-gcp>=0.2.2,<1', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is also a spanner v1 dep. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, introduced in #9606. Will remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reran generate requirements |
||
# GCP Packages required by ML functionality | ||
'google-cloud-dlp>=3.0.0,<4', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests fail with:
09:43:29 google-cloud-spanner 3.22.0 requires sqlparse, which is not installed.
these files need to be regenerated (see header at the top of the file).
Also, I think it would be safer to set the upper bound >=3.0.0 in setup.py.