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

fix: Pinned protobuf to prevent issues with pb files. #1398

Merged
merged 7 commits into from
Jun 6, 2022

Conversation

ivanmkc
Copy link
Contributor

@ivanmkc ivanmkc commented May 27, 2022

Currently, we rely on dependencies like proto-plus-python to select a protobuf library version.

However, if they select an incompatible version, it can lead to issues like #1257

Additionally, proto-plus and packaging had upper version limits added to prevent future breaking changes.

Prohibited versions were chosen from https://pypi.org/project/packaging/#history and https://pypi.org/project/proto-plus/#history and represent the next major release.

Currently, we rely on dependencies like proto-plus-python to select a protobuf library version.

However, if they select an incompatible version, it can lead to issues like #1257
@ivanmkc ivanmkc requested a review from a team as a code owner May 27, 2022 00:30
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels May 27, 2022
@ivanmkc ivanmkc changed the title Pinned protobuf to prevent issues with pb files. fix: Pinned protobuf to prevent issues with pb files. May 27, 2022
@parthea parthea requested a review from sararob May 31, 2022 14:27
@parthea
Copy link
Contributor

parthea commented May 31, 2022

@sararob, Please could you review/approve?

setup.py Show resolved Hide resolved
@ivanmkc ivanmkc requested a review from a team as a code owner May 31, 2022 18:13
@sararob
Copy link
Contributor

sararob commented May 31, 2022

LGTM once we confirm system tests pass.

@samgoodman samgoodman merged commit 7a54637 into main Jun 6, 2022
@samgoodman samgoodman deleted the ivanmkc--protobuf-pin branch June 6, 2022 23:17
rosiezou pushed a commit that referenced this pull request Jun 16, 2022
* Pinned protobuf to prevent issues with pb files.

Currently, we rely on dependencies like proto-plus-python to select a protobuf library version.

However, if they select an incompatible version, it can lead to issues like #1257

* fix: Added upper limits for proto-plus + packaging

* Added testing constraint

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Sam Goodman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants