From 9b758a49af2ceb75ff249ff9069a0585412b6988 Mon Sep 17 00:00:00 2001 From: naulitus <94896339+leobruneau@users.noreply.github.com> Date: Fri, 3 May 2024 10:31:53 +0200 Subject: [PATCH] modified setup.py files for ml-agents and ml-agents-envs to make release_21 compatible with M1 Apple Silicon --- ml-agents-envs/setup.py | 2 +- ml-agents/setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ml-agents-envs/setup.py b/ml-agents-envs/setup.py index 3fa6915437..3cb3e33d38 100644 --- a/ml-agents-envs/setup.py +++ b/ml-agents-envs/setup.py @@ -56,7 +56,7 @@ def run(self): "cloudpickle", "grpcio>=1.11.0,<=1.48.2", "Pillow>=4.2.1", - "protobuf>=3.6,<3.20", + "protobuf>=3.6,<=3.20.2", "pyyaml>=3.1.0", "gym>=0.21.0", "pettingzoo==1.15.0", diff --git a/ml-agents/setup.py b/ml-agents/setup.py index f77374d07d..8f528ae147 100644 --- a/ml-agents/setup.py +++ b/ml-agents/setup.py @@ -60,7 +60,7 @@ def run(self): f"mlagents_envs=={VERSION}", "numpy>=1.13.3,<2.0", "Pillow>=4.2.1", - "protobuf>=3.6,<3.20", + "protobuf>=3.6,<=3.20.2", "pyyaml>=3.1.0", "torch>=1.13.1", "tensorboard>=2.14", @@ -72,7 +72,7 @@ def run(self): "attrs>=19.3.0", "huggingface_hub>=0.14", 'pypiwin32==223;platform_system=="Windows"', - "onnx==1.12.0", + "onnx==1.13.0", ], python_requires=">=3.10.1,<=3.10.12", entry_points={