Skip to content

Commit fd1f796

Browse files
leahecoleabdelmegahedgoogle
authored andcommitted
docs(samples): explicitly add bq to samples reqs, upgrade grpc to fix bug on m1 (googleapis#1290)
* fix: explicitly add bq to samples reqs, upgrade grpc to fix bug on m1 * update grpc in setup.py * fix: rm 3.6 constraints, add grpcio to 3.7-3.10 constraints
1 parent 2ccd71a commit fd1f796

7 files changed

+7
-30
lines changed

samples/snippets/requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
db-dtypes==1.0.1
2+
google-cloud-bigquery==3.2.0
23
google-cloud-bigquery-storage==2.13.1
34
google-auth-oauthlib==0.5.1
4-
grpcio==1.46.3
5+
grpcio==1.47.0
56
ipython===7.31.1; python_version == '3.7'
67
ipython===8.0.1; python_version == '3.8'
78
ipython==8.3.0; python_version >= '3.9'

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = "Development Status :: 5 - Production/Stable"
3131
dependencies = [
32-
"grpcio >= 1.38.1, < 2.0dev", # https://github.com/googleapis/python-bigquery/issues/695
32+
"grpcio >= 1.47.0, < 2.0dev", # https://github.com/googleapis/python-bigquery/issues/1262
3333
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
3434
# Until this issue is closed
3535
# https://github.com/googleapis/google-cloud-python/issues/10566

testing/constraints-3.10.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
grpcio==1.47.0

testing/constraints-3.6.txt

-27
This file was deleted.

testing/constraints-3.7.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ google-api-core==1.31.5
1111
google-cloud-bigquery-storage==2.0.0
1212
google-cloud-core==1.4.1
1313
google-resumable-media==0.6.0
14-
grpcio==1.38.1
14+
grpcio==1.47.0
1515
ipython==7.0.1
1616
opentelemetry-api==1.1.0
1717
opentelemetry-instrumentation==0.20b0

testing/constraints-3.8.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
grpcio==1.47.0
12
pandas==1.2.0

testing/constraints-3.9.txt

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
#
55
# NOTE: Not comprehensive yet, will eventually be maintained semi-automatically by
66
# the renovate bot.
7+
grpcio==1.47.0
78
pyarrow>=4.0.0

0 commit comments

Comments
 (0)