Skip to content
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

google-big-query 1.11.1 appears to break things #271

Closed
jreback opened this issue Apr 5, 2019 · 4 comments
Closed

google-big-query 1.11.1 appears to break things #271

jreback opened this issue Apr 5, 2019 · 4 comments

Comments

@jreback
Copy link
Contributor

jreback commented Apr 5, 2019

https://travis-ci.org/pandas-dev/pandas/jobs/515983447 with 1.11.1 is breaking
while 1.10.0 seems ok

I see things like this when you have incompatible protobufs

==================================== ERRORS ====================================
_________________ ERROR collecting pandas/tests/io/test_gbq.py _________________
pandas/tests/io/test_gbq.py:14: in <module>
    bigquery = pytest.importorskip("google.cloud.bigquery")
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery/__init__.py:35: in <module>
    from google.cloud.bigquery.client import Client
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery/client.py:45: in <module>
    from google.cloud.bigquery.dataset import Dataset
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery/dataset.py:24: in <module>
    from google.cloud.bigquery.model import ModelReference
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery/model.py:27: in <module>
    from google.cloud.bigquery_v2 import types
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery_v2/__init__.py:23: in <module>
    from google.cloud.bigquery_v2 import types
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery_v2/types.py:22: in <module>
    from google.cloud.bigquery_v2.proto import model_pb2
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery_v2/proto/model_pb2.py:17: in <module>
    from google.cloud.bigquery_v2.proto import (
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/cloud/bigquery_v2/proto/model_reference_pb2.py:17: in <module>
    from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/api/annotations_pb2.py:15: in <module>
    from google.api import http_pb2 as google_dot_api_dot_http__pb2
../../../miniconda3/envs/pandas-dev/lib/python3.6/site-packages/google/api/http_pb2.py:22: in <module>
    serialized_pb=_b('\n\x15google/api/http.proto\x12\ngoogle.api\"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08\"\x81\x02\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\H\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3')
E   TypeError: __new__() got an unexpected keyword argument 'serialized_options'
===
@tswast
Copy link
Collaborator

tswast commented Apr 5, 2019

google-cloud-bigquery 1.11.1 adds a dependency on protocol buffers due to the models API. Looks like I forgot to specify it in https://github.com/googleapis/google-cloud-python/blob/master/bigquery/setup.py. I'll aim to get a patch release out soon to address this.

@tswast
Copy link
Collaborator

tswast commented Apr 5, 2019

Release pending: googleapis/google-cloud-python#7669

@tswast
Copy link
Collaborator

tswast commented Apr 5, 2019

Thanks for the report! Updated pip package released. Conda package is currently building. https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=26501

@tswast
Copy link
Collaborator

tswast commented Apr 5, 2019

Looks like the 1.11.2 packages published successfully. https://anaconda.org/conda-forge/google-cloud-bigquery/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants