-
Notifications
You must be signed in to change notification settings - Fork 91
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
Compatibility with protobuf 4.21.0 #159
Comments
Released |
shouldn't protobuf be listed in the package dependencies? For example, without the protobuf package installed it's impossible to use the Healthcheck as it imports |
@upcFrost gRPC states that BTW, Google's |
Why not make it an optional dependency as well, i.e. Python is currently trying to move towards proper dependency resolution, with pip 22+ and tools like poetry, so imho that'd be a nice change to do, and also a pretty small one. Something like this in diff --git a/setup.cfg b/setup.cfg
index 3dffb2b..62cd44a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,10 @@ python_requires = >=3.7
install_requires=
h2<5,>=3.1.0
multidict
+
+[options.extras_require]
+protobuf =
+ protobuf<4.21.0
[options.entry_points]
console_scripts = |
I think that Google's Right now Also right now So I added |
With protobuf update from version 3.20.1 to 4.21.0, the following error is thrown
Setting the protobuf version to 3.20.1 fixes the problem.
The text was updated successfully, but these errors were encountered: