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 — Making regression3 pass by dhermes · Pull Request #756 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Mar 24, 2015

Copy link
Copy Markdown
Contributor
  • Uses latest release of oauth2client which incorporates Fixing JSON key service account assertions in Python3. oauth2client#126
  • Pulling from HEAD in httplib2 until Update __init__.py jcgregorio/httplib2#291 and Added unit test for #291 jcgregorio/httplib2#296 are incorporated
  • Updating bytes/unicode handling, mostly as in Ensuring response from httplib2 is treated as str in Python 2 and bytes in Python3 #724
  • Updating storage.batch._unpack_batch_response to straddle Py2/Py3. The email native str dependency is tricky there.
  • Added some more tests to cover unicode/bytes branching in library code
  • Updated regression for storage to explicitly use binary when str is insufficient in Py3

NOTE: As in googleapis/oauth2client#126, using %s for a Py2 and Py3 codebase caused us issues in _unpack_batch_response

Sorry, something went wrong.

Uh oh!

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

All reactions
dhermes added 2 commits March 24, 2015 13:50
@dhermes
Removing dependency on development checkout of oauth2client.
6cec5de
Fix googleapis/oauth2client#125 was pushed
in 1.4.7 release.
@dhermes
Making regression3 pass by using bytes / unicode correctly.
11904c3
- Incorporates changes from googleapis#724.
- Also requires httplib2 from HEAD since the bytes/unicode
  header issues have not been released on PyPI yet.
@dhermes dhermes added the api: storage Issues related to the Cloud Storage API. label Mar 24, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2015
@dhermes dhermes mentioned this pull request Mar 24, 2015
Ensuring response from httplib2 is treated as str in Python 2 and bytes in Python3 #724
Closed
@coveralls

coveralls commented Mar 24, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 1b94f9f on dhermes:oauth2client-use-master into 3b04fdb on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Mar 25, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver PTAL

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes mentioned this pull request Mar 25, 2015
Using correct format of exceptions from JSON based APIs. #762
Merged
tseaver
tseaver reviewed Mar 26, 2015
View reviewed changes
Comment thread gcloud/storage/batch.py Outdated

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@dhermes
Making unit tests pass after regression3 test fixes.
fdb1d23
- Adding test for branch miss in credentials._get_signed_query_params
- Making storage.batch._unpack_batch_response work correctly in
  Python2 and Python3 (parser expects str in both)

NOTE: Yet again %s caused issues between Py2 and Py3 (as in the PR googleapis#126
      in oauth2client).
@dhermes
dhermes force-pushed the oauth2client-use-master branch from 1b94f9f to fdb1d23 Compare March 27, 2015 15:41
@coveralls

coveralls commented Mar 27, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling fdb1d23 on dhermes:oauth2client-use-master into d34a15e on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

LGTM, module adding the comment to _unpack_batch_response.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
Adding comment about bytes coercion in _unpack_batch_response.
73bb5bb
@dhermes

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver I made a new commit from my phone. PTAL and then I'll merge if Travis passes.

All reactions

Sorry, something went wrong.

Uh oh!

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

@coveralls

coveralls commented Mar 27, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 73bb5bb on dhermes:oauth2client-use-master into d34a15e on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes added a commit that referenced this pull request Mar 27, 2015
@dhermes
Merge pull request #756 from dhermes/oauth2client-use-master
4785201
Making regression3 pass
@dhermes
dhermes merged commit 4785201 into googleapis:master Mar 27, 2015
@dhermes

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver should we add regression3 to .travis.yaml now that it passes?

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

SGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
dhermes deleted the oauth2client-use-master branch March 28, 2015 08:17
@dhermes dhermes mentioned this pull request Apr 9, 2015
Upgrading version to 0.5.0. #813
Merged
parthea pushed a commit that referenced this pull request Nov 22, 2025
@gcf-owl-bot
docs: Fix formatting of request arg in docstring (#756)
5e35b12
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@software-dov
fix: remove duplicate assignment of certain flattened, repeated fields (
dc2597f
#760)

Fix for #756. Under certain circumstances, flattened, repeated fields
could be duplicated during request construction.
parthea pushed a commit that referenced this pull request Nov 24, 2025
@renovate-bot @gcf-owl-bot @daniel-sanche
chore(deps): update all dependencies (#756)
44aae31
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Sanche <[email protected]>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
build(deps): bump cryptography from 39.0.1 to 41.0.0 in /synthtool/gc…
dce351e
…p/templates/python_library/.kokoro (#756)

Source-Link: googleapis/synthtool@d0f51a0
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:240b5bcc2bafd450912d2da2be15e62bc6de2cf839823ae4bf94d4f392b451dc

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
chore: add custom sync repo settings (#756)
47bb517
parthea pushed a commit that referenced this pull request Nov 25, 2025
@gcf-owl-bot
build(deps): bump cryptography from 39.0.1 to 41.0.0 in /synthtool/gc…
d8bfbc5
…p/templates/python_library/.kokoro (#756)

Source-Link: googleapis/synthtool@d0f51a0
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:240b5bcc2bafd450912d2da2be15e62bc6de2cf839823ae4bf94d4f392b451dc

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 26, 2025
@release-please
chore: release 1.30.2 (#756)
e46043d
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 2, 2026
@gcf-owl-bot
chore(deps): update actions/setup-python action to v4 [autoapprove] (#…
c0330d8
…756)

Source-Link: googleapis/synthtool@8e55b32
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:c6c965a4bf40c19011b11f87dbc801a66d3a23fbc6704102be064ef31c51f1c3

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
chore(deps): update dependency pyparsing to v3.2.5 (#756)
a996309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

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

@dhermes @coveralls @tseaver @googlebot
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.