Skip to content

fix: pin protobuf to < 3.18.0 #277

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

Merged
merged 1 commit into from
Sep 20, 2021
Merged

fix: pin protobuf to < 3.18.0 #277

merged 1 commit into from
Sep 20, 2021

Conversation

busunkim96
Copy link
Contributor

@busunkim96 busunkim96 commented Sep 20, 2021

Fixes #276. This PR is being made to the v1 branch and will be released manually in 1.31.3.

Protobuf 3.18.0 removed support for Python 2.7 and 3.5 https://github.com/protocolbuffers/protobuf/releases/tag/v3.18.0. Because the protobuf library does not use python_requires, pip will try to install it even on Python 2.7. A new release of google-api-core should result in google-cloud-* library users getting the last version of protobuf they can use.

The latest versions of Cloud libraries (except for google-cloud-storage) have moved on to python >= 3.6. However, users google-cloud-storage and older Cloud libraries may be impacted.

Also see protocolbuffers/protobuf#8984

Fixes #276 

The latest versions of Cloud libraries (except for google-cloud-storage) have moved on to python >= 3.6. However, users of the storage library and older Cloud libraries may be impacted.

protocolbuffers/protobuf#8984
@busunkim96 busunkim96 requested a review from a team as a code owner September 20, 2021 14:49
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 20, 2021
@busunkim96
Copy link
Contributor Author

docfx is unhappy but other sessions are OK:

nox > Session docfx failed.
nox > Ran multiple sessions:
nox > * lint: success
nox > * blacken: success
nox > * unit-2.7: success
nox > * unit-3.6: success
nox > * unit-3.7: success
nox > * unit-3.8: success
nox > * unit-3.9: success
nox > * unit_grpc_gcp-2.7: success
nox > * unit_grpc_gcp-3.6: success
nox > * unit_grpc_gcp-3.7: success
nox > * unit_grpc_gcp-3.8: success
nox > * unit_grpc_gcp-3.9: success
nox > * lint_setup_py: success
nox > * pytype: success
nox > * cover: success
nox > * docs: success
nox > * docfx: failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants