GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(translate): add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth) by yoshi-automation · Pull Request #9943 · googleapis/google-cloud-python

Conversation

@yoshi-automation

@yoshi-automation yoshi-automation commented Dec 7, 2019

Copy link
Copy Markdown
Contributor

This PR was generated using Autosynth. 🌈

Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/translate/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/translate/artman_translate_v3beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3beta1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/translate/v3beta1/translation_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3beta1/google/cloud/translate_v3beta1/proto/translation_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3beta1/google/cloud/translate_v3beta1/proto.
synthtool > Replaced 'google.cloud.translation_v3beta1.proto' in google/cloud/translate_v3beta1/proto/translation_service_pb2_grpc.py.
synthtool > Running generator for google/cloud/translate/artman_translate_v3.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/translate/v3/translation_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3/google/cloud/translate_v3/proto/translation_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/translate-v3/google/cloud/translate_v3/proto.
synthtool > Replaced 'google.cloud.translation_v3.proto' in google/cloud/translate_v3/proto/translation_service_pb2_grpc.py.
synthtool > Replaced "record delimiters are ':raw-latex:`\\\\n`' instead of\n          ':raw-latex:`\\\\r`:raw-latex:`\\\\n`'." in google/cloud/translate_v3beta1/proto/translation_service_pb2.py.
synthtool > Replaced "record delimiters are ':raw-latex:`\\\\n`' instead of\n          ':raw-latex:`\\\\r`:raw-latex:`\\\\n`'." in google/cloud/translate_v3/proto/translation_service_pb2.py.
synthtool > Replaced '__doc__ = """Attributes:' in google/cloud/translate_v3beta1/proto/translation_service_pb2.py.
synthtool > Replaced '__doc__ = """Attributes:' in google/cloud/translate_v3/proto/translation_service_pb2.py.
synthtool > Replaced 'This field has the same length as \\[``contents`\n\\s+`\\]\\[google\\.cloud\\.translation\\.v3beta1\\.TranslateTextRequest\\.conte\n\\s+nts\\]\\.' in google/cloud/translate_v3beta1/proto/translation_service_pb2.py.
.coveragerc
.flake8
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/gapic/translation_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/gapic/transports/translation_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/proto/translation_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/gapic/translation_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/gapic/transports/translation_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/gapic/translation_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/gapic/translation_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/proto/translation_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/noxfile.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/tests/unit/gapic/v3/test_translation_service_client_v3.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/tests/unit/gapic/v3beta1/test_translation_service_client_v3beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3/proto/translation_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/translate/google/cloud/translate_v3beta1/proto/translation_service_pb2.py
All done! ✨ 🍰 ✨
18 files reformatted, 19 files left unchanged.
Session blacken was successful.
synthtool > Cleaned up 3 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yoshi-automation
[CHANGE ME] Re-generated translate to pick up changes in the API or c…
438d443
…lient library generator.
@yoshi-automation
yoshi-automation requested a review from busunkim96 as a code owner December 7, 2019 13:29
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 7, 2019
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated translate to pick up changes in the API or client library generator. test(translate): add 3.8 unit tests (via synth) Dec 9, 2019
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2019
@busunkim96

busunkim96 commented Dec 10, 2019

Copy link
Copy Markdown
Contributor

Headers appear to have changed. 🤔 Unit tests are failing across versions.

   Expected: request(data='req-data-boring', headers={'Accept-Encoding': 'gzip', 'X-Goog-API-Client': 'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0', 'User-Agent': 'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0'}, method='GET', url='https://translation.googleapis.com/language/translate/v2/rainbow')
E   Actual: request(data='req-data-boring', headers={'Accept-Encoding': 'gzip', 'X-Goog-API-Client': 'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0', 'User-Agent': 'gl-python/3.6.9 grpc/1.25.0 gax/1.14.3 gapic/2.0.0 gccl/2.0.0'}, method='GET', timeout=None, url='https://translation.googleapis.com/language/translate/v2/rainbow')

<string>:3: AssertionError
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96 busunkim96 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 10, 2019
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 29, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 29, 2020
busunkim96 and others added 2 commits January 29, 2020 18:04
@busunkim96
test: modify expected http call; use template noxfile; regen
43a16c8
@busunkim96
Merge branch 'master' into autosynth-translate
2461208
@busunkim96 busunkim96 changed the title test(translate): add 3.8 unit tests (via synth) test(translate): fix expected headers; add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth) Jan 30, 2020
@busunkim96 busunkim96 changed the title test(translate): fix expected headers; add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth) test(translate): add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth) Jan 30, 2020
busunkim96 added 3 commits January 29, 2020 18:23
@busunkim96
test: set expected timeout to 60
e7b7789
@busunkim96
Merge branch 'autosynth-translate' of github.com:googleapis/google-cl…
63e2508
…oud-python into autosynth-translate
@busunkim96
chore: blacken
9acb396
busunkim96
busunkim96 approved these changes Jan 30, 2020
View reviewed changes
@busunkim96
busunkim96 merged commit 79d8e00 into master Jan 30, 2020
This was referenced Jan 30, 2020
chore(automl): change line breaks in docstrings (via synth) #10252
Merged
chore(bigquerydatatransfer): change line breaks in docstrings (via synth) #10253
Merged
chore(bigtable): bump copyright year to 2020; change formatting of docstrings (via synth) #10254
Merged
chore(cloudbuild): bump copyright year to 2020; change docstring formatting (via synth) #10255
Merged
[CHANGE ME] Re-generated container to pick up changes in the API or client library generator. #10256
Closed
chore(containeranalysis): bump copyright year to 2020 (via synth) #10257
Merged
chore(datacatalog): change docstring line breaks (via synth) #10258
Merged
chore(datalabeling): change docstring line breaks (via synth) #10259
Merged
chore(dataproc): bump copyright year to 2020; change docstring line breaks (via synth) #10260
Merged
[CHANGE ME] Re-generated datastore to pick up changes in the API or client library generator. #10261
Closed
chore(dlp): bump copyright year to 2020; change line breaks in docstrings (via synth) #10262
Merged
This was referenced Jan 30, 2020
chore(grafeas): bump copyright year to 2020; change docstring line breaks (via synth) #10265
Merged
chore(irm): change docstring line breaks (via synth) #10266
Merged
chore(kms): bump copyright year to 2020; change docstring line breaks (via synth) #10267
Merged
chore(monitoring): change docstring line breaks (via synth) #10268
Merged
chore(spanner): bump copyright year to 2020; change docstring formatting (via synth) #10269
Merged
chore(speech): change docstring line breaks (via synth) #10270
Merged
fix(tasks): change default timeout values; bump copyright year to 2020; change line breaks in docstrings (via synth) #10271
Merged
chore(texttospeech): change docstring line breaks (via synth) #10272
Merged
chore(trace): change docstring line breaks (via synth) #10273
Merged
chore(vision): change docstring line breaks (via synth) #10275
Merged
chore(webrisk): change docstring line breaks (via synth) #10276
Merged
chore(websecurityscanner): change line breaks in docstrings (via synth) #10277
Merged
[CHANGE ME] Re-generated billingbudgets to pick up changes in the API or client library generator. #10288
Closed
[CHANGE ME] Re-generated iot to pick up changes in the API or client library generator. #10293
Closed
[CHANGE ME] Re-generated language to pick up changes in the API or client library generator. #10294
Closed
[CHANGE ME] Re-generated oslogin to pick up changes in the API or client library generator. #10296
Closed
[CHANGE ME] Re-generated phishingprotection to pick up changes in the API or client library generator. #10297
Closed
[CHANGE ME] Re-generated redis to pick up changes in the API or client library generator. #10319
Closed
[CHANGE ME] Re-generated language to pick up changes in the API or client library generator. #10332
Closed
[CHANGE ME] Re-generated oslogin to pick up changes in the API or client library generator. #10334
Closed
[CHANGE ME] Re-generated phishingprotection to pick up changes in the API or client library generator. #10335
Closed
[CHANGE ME] Re-generated iot to pick up changes in the API or client library generator. #10341
Closed
[CHANGE ME] Re-generated language to pick up changes in the API or client library generator. #10344
Closed
This was referenced Feb 6, 2020
[CHANGE ME] Re-generated oslogin to pick up changes in the API or client library generator. #10352
Closed
[CHANGE ME] Re-generated phishingprotection to pick up changes in the API or client library generator. #10353
Closed
[CHANGE ME] Re-generated asset to pick up changes in the API or client library generator. #10359
Closed
[CHANGE ME] Re-generated language to pick up changes in the API or client library generator. #10361
Closed
[CHANGE ME] Re-generated oslogin to pick up changes in the API or client library generator. #10362
Closed
[CHANGE ME] Re-generated recommender to pick up changes in the API or client library generator. #10363
Closed
parthea pushed a commit that referenced this pull request Oct 21, 2023
@yoshi-automation
fix(translate): add py2 deprecation warning; bump copyright year to 2…
526b250
…020; add 3.8 unit tests (via synth) (#9943)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@busunkim96 busunkim96 busunkim96 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@yoshi-automation @busunkim96 @googlebot @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.