Skip to content

Commit 9b758a4

Browse files
committed
modified setup.py files for ml-agents and ml-agents-envs to make release_21 compatible with M1 Apple Silicon
1 parent 7a03145 commit 9b758a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ml-agents-envs/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def run(self):
5656
"cloudpickle",
5757
"grpcio>=1.11.0,<=1.48.2",
5858
"Pillow>=4.2.1",
59-
"protobuf>=3.6,<3.20",
59+
"protobuf>=3.6,<=3.20.2",
6060
"pyyaml>=3.1.0",
6161
"gym>=0.21.0",
6262
"pettingzoo==1.15.0",

ml-agents/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def run(self):
6060
f"mlagents_envs=={VERSION}",
6161
"numpy>=1.13.3,<2.0",
6262
"Pillow>=4.2.1",
63-
"protobuf>=3.6,<3.20",
63+
"protobuf>=3.6,<=3.20.2",
6464
"pyyaml>=3.1.0",
6565
"torch>=1.13.1",
6666
"tensorboard>=2.14",
@@ -72,7 +72,7 @@ def run(self):
7272
"attrs>=19.3.0",
7373
"huggingface_hub>=0.14",
7474
'pypiwin32==223;platform_system=="Windows"',
75-
"onnx==1.12.0",
75+
"onnx==1.13.0",
7676
],
7777
python_requires=">=3.10.1,<=3.10.12",
7878
entry_points={

0 commit comments

Comments
 (0)