Skip to content

Commit 38a021e

Browse files
authored
updating lib versions to fix vulnerabilities (#1292)
1 parent 0d9b9b2 commit 38a021e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

setup.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,12 @@
107107

108108
INSTALL_REQUIRES = [
109109
"azure-functions==1.15.1b1",
110-
"python-dateutil~=2.8.2"
110+
"python-dateutil~=2.8.2",
111+
"protobuf~=4.22.0",
112+
"grpcio-tools~=1.54.2",
113+
"grpcio~=1.54.2"
111114
]
112115

113-
if sys.version_info[:3] < (3, 9, 0):
114-
INSTALL_REQUIRES.extend(
115-
("protobuf~=3.19.3", "grpcio-tools~=1.43.0", "grpcio~=1.43.0")
116-
)
117-
else:
118-
INSTALL_REQUIRES.extend(
119-
("protobuf~=4.22.0", "grpcio-tools~=1.54.2", "grpcio~=1.54.2")
120-
)
121-
122116
EXTRA_REQUIRES = {
123117
"dev": [
124118
"azure-eventhub~=5.7.0", # Used for EventHub E2E tests

0 commit comments

Comments
 (0)