File tree 4 files changed +7
-3
lines changed
tools/distrib/python/grpcio_tools
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
coverage>=4.0
3
3
cython>=0.29.8
4
4
enum34>=1.0.4
5
- protobuf>=3.5.0.post1
5
+ protobuf>=3.5.0.post1, < 4.0dev
6
6
six>=1.10
7
7
wheel>=0.29
8
8
futures>=2.2.0
Original file line number Diff line number Diff line change 2
2
coverage >= 4.0
3
3
cython >= 0.29.8
4
4
enum34 >= 1.0.4
5
- protobuf >= 3.5.0.post1
5
+ protobuf >= 3.5.0.post1 , < 4.0dev
6
6
six >= 1.10
7
7
wheel >= 0.29
Original file line number Diff line number Diff line change @@ -355,6 +355,9 @@ def cython_extensions_and_necessity():
355
355
"futures>=2.2.0; python_version<'3.2'" ,
356
356
"enum34>=1.0.4; python_version<'3.4'" ,
357
357
)
358
+ EXTRAS_REQUIRES = {
359
+ 'protobuf' : 'grpcio-tools>={version}' .format (version = grpc_version .VERSION ),
360
+ }
358
361
359
362
SETUP_REQUIRES = INSTALL_REQUIRES + (
360
363
'Sphinx~=1.8.1' ,
@@ -417,6 +420,7 @@ def cython_extensions_and_necessity():
417
420
package_dir = PACKAGE_DIRECTORIES ,
418
421
package_data = PACKAGE_DATA ,
419
422
install_requires = INSTALL_REQUIRES ,
423
+ extras_require = EXTRAS_REQUIRES ,
420
424
setup_requires = SETUP_REQUIRES ,
421
425
cmdclass = COMMAND_CLASS ,
422
426
)
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ def extension_modules():
219
219
ext_modules = extension_modules (),
220
220
packages = setuptools .find_packages ('.' ),
221
221
install_requires = [
222
- 'protobuf>=3.5.0.post1' ,
222
+ 'protobuf>=3.5.0.post1, < 4.0dev ' ,
223
223
'grpcio>={version}' .format (version = grpc_version .VERSION ),
224
224
],
225
225
package_data = package_data (),
You can’t perform that action at this time.
0 commit comments