Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit a548f0f

Browse files
committed
Use version range for grpcio instead of exact version
Fixed version of grpcio is causing error when an application needs to use newer compatible grpcio: bblfsh 2.11.2 has requirement grpcio==1.13.0, but you'll have grpcio 1.17.0 which is incompatible. In my case I stumbled on this bug that is fixed in newer grpcio: grpc/grpc#14088 Signed-off-by: Maxim Sukharev <[email protected]>
1 parent e8483d9 commit a548f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def main():
272272
packages=find_packages(),
273273
exclude=["bblfsh/test.py"],
274274
keywords=["babelfish", "uast"],
275-
install_requires=["grpcio==1.13.0", "grpcio-tools==1.13.0", "docker", "protobuf>=3.4.0"],
275+
install_requires=["grpcio>=1.13.0,<2.0", "grpcio-tools>=1.13.0,<2.0", "docker", "protobuf>=3.4.0"],
276276
package_data={"": ["LICENSE", "README.md"]},
277277
ext_modules=[libuast_module],
278278
classifiers=[

0 commit comments

Comments
 (0)