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

Install google.protobuf and protoc in containers #910

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

olupton
Copy link
Collaborator

@olupton olupton commented Jun 18, 2024

Widely varying versions of google.protobuf (the Python runtime) are installed in the containers depending on which other packages are installed. The approach here is to let pip-finalize.sh install whatever google.protobuf version it wants, and then try to install a compatible protoc (the compiler / .proto -> .py translator).

This should allow some virtualenv hackery to be removed, and also avoid hitting GitHub API rate limits.

Widely varying versions of google.protobuf are installed in the
containers depending on which other packages are installed. The approach
here is to let pip-finalize.sh install whatever google.protobuf version
it wants, and then try to install a compatible protoc.
Copy link
Contributor

@gspschmid gspschmid left a comment

Choose a reason for hiding this comment

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

LGTM

@olupton olupton merged commit 231d0c4 into main Jun 25, 2024
71 of 119 checks passed
@olupton olupton deleted the olupton/install-protobuf branch June 25, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants