Update GRPCIO version for Python 3.8 and higher. (#1294)
* revert updated lib versions * updating fix for python3.7 * updating fix for python3.7 * reverting fix for python3.7 * update
This commit is contained in:
Родитель
a8a4d42bd5
Коммит
242853bf93
14
setup.py
14
setup.py
|
@ -107,12 +107,18 @@ PACKAGES = [
|
|||
|
||||
INSTALL_REQUIRES = [
|
||||
"azure-functions==1.15.1b2",
|
||||
"python-dateutil~=2.8.2",
|
||||
"protobuf~=4.22.0",
|
||||
"grpcio-tools~=1.54.2",
|
||||
"grpcio~=1.54.2"
|
||||
"python-dateutil~=2.8.2"
|
||||
]
|
||||
|
||||
if sys.version_info[:2] == (3, 7):
|
||||
INSTALL_REQUIRES.extend(
|
||||
("protobuf~=3.19.3", "grpcio-tools~=1.43.0", "grpcio~=1.43.0")
|
||||
)
|
||||
else:
|
||||
INSTALL_REQUIRES.extend(
|
||||
("protobuf~=4.22.0", "grpcio-tools~=1.54.2", "grpcio~=1.54.2")
|
||||
)
|
||||
|
||||
EXTRA_REQUIRES = {
|
||||
"dev": [
|
||||
"azure-eventhub~=5.7.0", # Used for EventHub E2E tests
|
||||
|
|
Загрузка…
Ссылка в новой задаче