Skip to content

BigQuery Storage: Pin black version. (via synth).#8672

Merged
tseaver merged 1 commit into
masterfrom
autosynth-bigquery_storage
Jul 26, 2019
Merged

BigQuery Storage: Pin black version. (via synth).#8672
tseaver merged 1 commit into
masterfrom
autosynth-bigquery_storage

Conversation

@yoshi-automation

Copy link
Copy Markdown
Contributor

This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:

synthtool > Executing /tmpfs/src/git/autosynth/working_repo/bigquery_storage/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:63f21e83cb92680b7001dc381069e962c9e6dee314fd8365ac554c07c89221fb
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/bigquery/storage/artman_bigquerystorage_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/bigquery/storage/v1beta1/avro.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1/google/cloud/bigquery_storage_v1beta1/proto/avro.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/bigquery/storage/v1beta1/table_reference.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1/google/cloud/bigquery_storage_v1beta1/proto/table_reference.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/bigquery/storage/v1beta1/arrow.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1/google/cloud/bigquery_storage_v1beta1/proto/arrow.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/bigquery/storage/v1beta1/storage.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1/google/cloud/bigquery_storage_v1beta1/proto/storage.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/bigquery/storage/v1beta1/read_options.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1/google/cloud/bigquery_storage_v1beta1/proto/read_options.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/bigquerystorage-v1beta1/google/cloud/bigquery_storage_v1beta1/proto.
synthtool > Replaced 'from google.cloud.bigquery.storage_v1beta1.proto' in google/cloud/bigquery_storage_v1beta1/proto/storage_pb2.py.
synthtool > Replaced 'from google.cloud.bigquery.storage_v1beta1.proto' in google/cloud/bigquery_storage_v1beta1/proto/storage_pb2_grpc.py.
synthtool > Replaced 'google-cloud-bigquerystorage' in google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py.
synthtool > Replaced 'import google.api_core.gapic_v1.method\n' in google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py.
synthtool > Replaced 'from google.cloud import bigquery_storage_v1beta1' in tests/unit/gapic/v1beta1/test_big_query_storage_client_v1beta1.py.
synthtool > Replaced 'bigquery_storage_v1beta1.BigQueryStorageClient' in tests/unit/gapic/v1beta1/test_big_query_storage_client_v1beta1.py.
synthtool > Replaced 'return google.api_core.grpc_helpers.create_channel\\(\n(\\s+)address,\n\\s+credentials=.*,\n\\s+scopes=.*,\n' in google/cloud/bigquery_storage_v1beta1/gapic/transports/big_query_storage_grpc_transport.py.
synthtool > Replaced 'if transport:' in google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py.
synthtool > No replacements made in ['google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py'] for pattern to_grpc_metadata\(\n, maybe replacement is not longer needed?
synthtool > Replaced 'metadata.append\\(routing_metadata\\)' in google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py.
synthtool > Replaced 'if channel is not None and credentials is not None:' in google/cloud/bigquery_storage_v1beta1/gapic/transports/big_query_storage_grpc_transport.py.
synthtool > Replaced 'if channel is None:' in google/cloud/bigquery_storage_v1beta1/gapic/transports/big_query_storage_grpc_transport.py.
synthtool > Replaced 'google.api_core.grpc_helpers.create_channel\\(' in google/cloud/bigquery_storage_v1beta1/gapic/transports/big_query_storage_grpc_transport.py.
.coveragerc
.flake8
MANIFEST.in
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtualenv using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py samples
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/arrow_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/gapic/transports/big_query_storage_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/avro_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/avro_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/read_options_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/arrow_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/read_options_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/table_reference_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/storage_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/table_reference_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/noxfile.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/tests/unit/gapic/v1beta1/test_big_query_storage_client_v1beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/storage_pb2.py
All done! ✨ 🍰 ✨
20 files reformatted, 15 files left unchanged.
Session blacken was successful.
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

@yoshi-automation yoshi-automation requested a review from a team July 13, 2019 12:13
@yoshi-automation yoshi-automation added the api: bigquerystorage Issues related to the BigQuery Storage API. label Jul 13, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 13, 2019
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated bigquery_storage to pick up changes in the API or client library generator. BigQuery Storage: Update noxfile (via synth). Jul 15, 2019
@tseaver tseaver changed the title BigQuery Storage: Update noxfile (via synth). BigQuery Storage: Pin black version. (via synth). Jul 15, 2019
tseaver
tseaver previously approved these changes Jul 15, 2019
@tseaver tseaver dismissed their stale review July 15, 2019 17:29

Failing CI.

@tseaver

tseaver commented Jul 15, 2019

Copy link
Copy Markdown
Contributor

The "BigQuery Storage" Kokoro failure is quite puzzling: every job fails with:

ImportError while importing test module '/tmpfs/src/github/google-cloud-python/bigquery_storage/tests/unit/test_reader.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/unit/test_reader.py:22: in <module>
    import fastavro
.nox/unit-2-7/lib/python2.7/site-packages/fastavro/__init__.py:47: in <module>
    import fastavro.read
.nox/unit-2-7/lib/python2.7/site-packages/fastavro/read.py:4: in <module>
    from . import _read_py as _read
.nox/unit-2-7/lib/python2.7/site-packages/fastavro/_read_py.py:11: in <module>
    import bz2
E   ImportError: No module named bz2

Which is absurd, given that bz2 is in the standard library.

@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@tswast tswast added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 22, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 22, 2019
@tseaver tseaver merged commit 020e514 into master Jul 26, 2019
@tseaver tseaver deleted the autosynth-bigquery_storage branch July 26, 2019 12:23
parthea pushed a commit that referenced this pull request Aug 21, 2025
parthea pushed a commit that referenced this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquerystorage Issues related to the BigQuery Storage API. cla: yes This human has signed the Contributor License Agreement. codegen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants