Skip to content

Commit b2a6b5b

Browse files
Raise minimum numpy version to 1.23.5 to fix installation errors on windows (#6082)
Fixes #6047 Fixes the following errors when installing ml-agents-envs on windows if numpy 1.21.2 is already installed: ``` Building wheel for numpy (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for numpy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [326 lines of output] setup.py:63: RuntimeWarning: NumPy 1.21.2 may not yet support Python 3.10. warnings.warn( Running from numpy source directory. ```
1 parent 93221d4 commit b2a6b5b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

com.unity.ml-agents/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and this project adheres to
2828
- Fixed 3DBall sample package to remove Barracuda dependency. (#6030)
2929

3030
#### ml-agents / ml-agents-envs
31-
- Bumped numpy version to >=1.21.2,<1.24.0 (#5997)
31+
- Bumped numpy version to >=1.23.5,<1.24.0 (#6082)
3232
- Bumped onnx version to 1.15.0 (#6062)
3333
- Bumped protobuf version to >=3.6,<21 (#6062)
3434

ml-agents-envs/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def run(self):
6060
"pyyaml>=3.1.0",
6161
"gym>=0.21.0",
6262
"pettingzoo==1.15.0",
63-
"numpy>=1.21.2,<1.24.0",
63+
"numpy>=1.23.5,<1.24.0",
6464
"filelock>=3.4.0",
6565
],
6666
python_requires=">=3.10.1,<=3.10.12",

ml-agents/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run(self):
5858
"grpcio>=1.11.0,<=1.48.2",
5959
"h5py>=2.9.0",
6060
f"mlagents_envs=={VERSION}",
61-
"numpy>=1.21.2,<1.24.0",
61+
"numpy>=1.23.5,<1.24.0",
6262
"Pillow>=4.2.1",
6363
"protobuf>=3.6,<3.21",
6464
"pyyaml>=3.1.0",

0 commit comments

Comments
 (0)