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

updating to 0.1.24 breaks dependencies #1238

Open
gadfort opened this issue Feb 4, 2025 · 2 comments
Open

updating to 0.1.24 breaks dependencies #1238

gadfort opened this issue Feb 4, 2025 · 2 comments

Comments

@gadfort
Copy link

gadfort commented Feb 4, 2025

When installing an update I get the following errors:

google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading pythia_service.proto: gencode 5.29.0 runtime 5.28.1. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.

manually updating protobuf gives me:

RuntimeError: The grpc package installed is at version 1.68.1, but the generated code in pythia_service_pb2_grpc.py depends on grpcio>=1.70.0. Please upgrade your grpc module to grpcio>=1.70.0 or downgrade your generated code using grpcio-tools<=1.68.1.

after updating grpcio vizier works again.

This indicates to me that the requirements are not properly expressed to ensure version compatibility.

@xingyousong
Copy link
Collaborator

Sorry about that - we're in the middle of fiddling around with dependencies to get integrated into RayTune. For now, can you use 0.1.21? The algorithms haven't changed.

@gadfort
Copy link
Author

gadfort commented Feb 4, 2025

@xingyousong yes, I'm using that now and will continue to. It came up since dependabot suggested the update.

copybara-service bot pushed a commit that referenced this issue Feb 5, 2025
in response to #1238

PiperOrigin-RevId: 723267604
copybara-service bot pushed a commit that referenced this issue Feb 5, 2025
in response to #1238

PiperOrigin-RevId: 723267604
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

No branches or pull requests

2 participants