-
Notifications
You must be signed in to change notification settings - Fork 347
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
Importing aiplatform fails after protobuf 4.21 #1257
Labels
api: vertex-ai
Issues related to the googleapis/python-aiplatform API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Comments
product-auto-label
bot
added
the
api: vertex-ai
Issues related to the googleapis/python-aiplatform API.
label
May 26, 2022
dragos-cojocari
changed the title
Importing aiplatform fails after protobuf 4.21 is launched
Importing aiplatform fails after protobuf 4.21
May 26, 2022
Here is a simple end to end way to reproduce this in a fresh Conda Env
With output
|
parthea
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
labels
May 26, 2022
ivanmkc
added a commit
that referenced
this issue
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
samgoodman
added a commit
that referenced
this issue
Jun 6, 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 <partheniou@google.com> Co-authored-by: Sam Goodman <stgoodman123@gmail.com>
rosiezou
pushed a commit
that referenced
this issue
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 <partheniou@google.com> Co-authored-by: Sam Goodman <stgoodman123@gmail.com>
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.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
This started occurring today, May 26th after protobuf 4.21 has been launched. Trying to explicitly set protobuf version to 3.21.0 in the requirements file of the project importing aiplatform does not help either. The other Google Python APIs ( storage etc) do not seem affected by this.
Environment details
google-cloud-aiplatform
version: 1.13.0Steps to reproduce
Build any Python code that imports google.aiplatform
Code example
Stack trace
The text was updated successfully, but these errors were encountered: