Skip to content

Commit 0a29adc

Browse files
committed
[server] Constrain protobuf types to 3.20
1 parent 3574445 commit 0a29adc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,24 @@ def run(self):
2828
)
2929

3030

31+
PB_VER = 3.20
32+
3133
setup(
3234
name="manticore_server",
3335
version="0.0.1",
3436
packages=find_packages(exclude=["tests", "tests.*"]),
3537
python_requires=">=3.7",
3638
install_requires=[
3739
f"manticore[native] @ file://{Path(__file__).parent.resolve()}/..",
38-
"protobuf~=3.20",
40+
f"protobuf~={PB_VER}",
3941
"grpcio~=1.46",
4042
"crytic-compile>=0.2.2",
4143
],
4244
extras_require={
4345
"dev": [
4446
"grpcio-tools",
4547
"mypy-protobuf",
48+
f"types-protobuf~={PB_VER}",
4649
"shiv~=1.0.1",
4750
"types-setuptools",
4851
"black~=22.0",

0 commit comments

Comments
 (0)