Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix colab py3.10.11 #5913

Open
wants to merge 3 commits into
base: release_20_branch
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ml-agents-envs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,15 @@ def run(self):
install_requires=[
"cloudpickle",
"grpcio>=1.11.0",
"numpy>=1.14.1",
"numpy>=1.14.1,<1.24",
"Pillow>=4.2.1",
"protobuf>=3.6",
"pyyaml>=3.1.0",
"gym>=0.21.0",
"pettingzoo==1.15.0",
"numpy==1.21.2",
"filelock>=3.4.0",
],
python_requires=">=3.8.13,<=3.10.8",
python_requires=">=3.8.13,<3.11.0",
# TODO: Remove this once mypy stops having spurious setuptools issues.
cmdclass={"verify": VerifyVersionCommand}, # type: ignore
)
4 changes: 2 additions & 2 deletions ml-agents/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run(self):
# https://github.com/Unity-Technologies/ml-agents/blob/release_20_docs/docs/Installation.md#windows-installing-pytorch
# Torch only working on python 3.9 for 1.8.0 and above. Details see:
# https://github.com/pytorch/pytorch/issues/50014
"torch>=1.8.0,<=1.11.0;(platform_system!='Windows' and python_version>='3.9')",
"torch>=1.8.0,<=2.0;(platform_system!='Windows' and python_version>='3.9')",
"torch>=1.6.0,<1.9.0;(platform_system!='Windows' and python_version<'3.9')",
"tensorboard>=1.15",
# cattrs 1.1.0 dropped support for python 3.6, but 1.0.0 doesn't work for python 3.9
Expand All @@ -79,7 +79,7 @@ def run(self):
'pypiwin32==223;platform_system=="Windows"',
"importlib_metadata==4.4; python_version<'3.8'",
],
python_requires=">=3.8.13,<=3.10.8",
python_requires=">=3.8.13,<3.11.0",
entry_points={
"console_scripts": [
"mlagents-learn=mlagents.trainers.learn:main",
Expand Down