-
Notifications
You must be signed in to change notification settings - Fork 375
fix: fix aiplatform import issue #1860
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should most likely be labeled a fix and should include a more informative description.
updated description and title |
This is breaking quite a few Vertex notebooks in colab. Could we prioritize the fix rollout? I think we are in RRC1:Guarded not in freeze yet. Thanks! |
COPYBARA_INTEGRATE_REVIEW=googleapis#1860 from galz10:shaply-workaround 4005242 PiperOrigin-RevId: 496384036
In Colab, shapely is used by imgaug, anyone using imgaug alongside with aiplatform will run into an error
AttributeError: module 'shapely.geos' has no attribute 'WKTReader'
when importing aiplatform.Adding a constraint with
shapely<2.0.0
ingoogle-cloud-aiplatform
will fix this.Fixes #1852 🦕