Skip to content

Commit 39f4e42

Browse files
authored
Upgrade grpcio version (#6208)
* Update grpcio version in setup
1 parent 1ae454d commit 39f4e42

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

com.unity.ml-agents/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ and this project adheres to
2828
- Added no-graphics-monitor. (#6014)
2929

3030
#### ml-agents / ml-agents-envs
31+
- Upgraded grpcio version. (#6208)
3132
- Update Installation.md (#6004)
3233
- Updated Using-Virtual-Environment.md (#6033)
3334

docs/Installation.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@ Note that on Windows, you may also need Microsoft's
167167
if you don't have it already. See the [PyTorch installation guide](https://pytorch.org/get-started/locally/)
168168
for more installation options and versions.
169169

170-
#### (OS X) Installing GRPC libraries
171-
172-
On OS X, you may need to explicitly install the GRPC runtime libraries to avoid hitting errors when training like `dlopen(/Users/alex.mccarthy/miniconda3/envs/mlagents/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_CFRelease'`.
173-
174-
```sh
175-
pip3 install grpcio
176-
```
177-
178170
#### Installing `mlagents`
179171

180172
To install the `mlagents` Python package, activate your virtual environment and

ml-agents-envs/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def run(self):
5454
zip_safe=False,
5555
install_requires=[
5656
"cloudpickle",
57-
"grpcio>=1.11.0,<=1.48.2",
57+
"grpcio>=1.11.0,<=1.53.2",
5858
"Pillow>=4.2.1",
5959
"protobuf>=3.6,<3.21",
6060
"pyyaml>=3.1.0",

ml-agents/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def run(self):
5555
zip_safe=False,
5656
install_requires=[
5757
# Test-only dependencies should go in test_requirements.txt, not here.
58-
"grpcio>=1.11.0,<=1.48.2",
58+
"grpcio>=1.11.0,<=1.53.2",
5959
"h5py>=2.9.0",
6060
f"mlagents_envs=={VERSION}",
6161
"numpy>=1.23.5,<1.24.0",

0 commit comments

Comments
 (0)