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: fix conda compatibility issue #475

Merged
merged 3 commits into from
Jul 12, 2024
Merged

fix: fix conda compatibility issue #475

merged 3 commits into from
Jul 12, 2024

Conversation

parthea
Copy link
Contributor

@parthea parthea commented Jul 12, 2024

Similar to #471 but with review comments addressed.
Fixes #470
Fixes googleapis/python-aiplatform#3129
Closes #471

@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 12, 2024
@parthea parthea marked this pull request as ready for review July 12, 2024 17:51
@parthea parthea requested a review from a team as a code owner July 12, 2024 17:51
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 12, 2024
except AttributeError:
# The `MessageMapContainer` attribute is not available in Protobuf 5.x+
pass
for message in [_message_upb, _message_pyext]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a for loop here? Are _message_upb and _message_pyext mutually exclusive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per the comment at line 23, we want to include types from both _message_upb and _message_pyext

@parthea parthea merged commit e2f9c9d into main Jul 12, 2024
29 checks passed
@parthea parthea deleted the fix-conda-compatibility branch July 12, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants