Skip to content

Commit b7548d6

Browse files
committed
chore: updates minimum version of bqstorage (#1542)
* chore: updates minimum version of bqstorage * removes unneeded test * updates linting, removes unneeded comment
1 parent 985bae5 commit b7548d6

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# Keep the no-op bqstorage extra for backward compatibility.
5252
# See: https://github.com/googleapis/python-bigquery/issues/757
5353
"bqstorage": [
54-
"google-cloud-bigquery-storage >= 2.0.0, <3.0.0dev",
54+
"google-cloud-bigquery-storage >= 2.6.0, <3.0.0dev",
5555
# Due to an issue in pip's dependency resolver, the `grpc` extra is not
5656
# installed, even though `google-cloud-bigquery-storage` specifies it
5757
# as `google-api-core[grpc]`. We thus need to explicitly specify it here.

testing/constraints-3.7.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
db-dtypes==0.3.0
99
geopandas==0.9.0
1010
google-api-core==1.31.5
11-
google-cloud-bigquery-storage==2.0.0
11+
google-cloud-bigquery-storage==2.6.0
1212
google-cloud-core==1.6.0
1313
google-resumable-media==0.6.0
1414
grpcio==1.47.0

tests/unit/job/test_query_pandas.py

-6
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@
5959

6060
@pytest.fixture
6161
def table_read_options_kwarg():
62-
# Create a BigQuery Storage table read options object with pyarrow compression
63-
# enabled if a recent-enough version of google-cloud-bigquery-storage dependency is
64-
# installed to support the compression.
65-
if not hasattr(bigquery_storage, "ArrowSerializationOptions"):
66-
return {}
67-
6862
read_options = bigquery_storage.ReadSession.TableReadOptions(
6963
arrow_serialization_options=bigquery_storage.ArrowSerializationOptions(
7064
buffer_compression=bigquery_storage.ArrowSerializationOptions.CompressionCodec.LZ4_FRAME

0 commit comments

Comments
 (0)