Skip to content

Commit f27f0e9

Browse files
Fixed some more failing tests. Added six as an explicit dependency due to tensorboard requirements.
1 parent d49357c commit f27f0e9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ml-agents/mlagents/trainers/tests/torch_entities/test_hybrid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_hybrid_sac(action_size):
9090
buffer_init_steps=0,
9191
)
9292
config = attr.evolve(
93-
SAC_TORCH_CONFIG, hyperparameters=new_hyperparams, max_steps=8000
93+
SAC_TORCH_CONFIG, hyperparameters=new_hyperparams, max_steps=10000
9494
)
9595
check_environment_trains(env, {BRAIN_NAME: config}, success_threshold=0.9)
9696

ml-agents/setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ def run(self):
7070
# https://github.com/pytorch/pytorch/issues/50014
7171
"torch>=1.8.0,<=1.11.0;(platform_system!='Windows' and python_version>='3.9')",
7272
"torch>=1.6.0,<1.9.0;(platform_system!='Windows' and python_version<'3.9')",
73-
"tensorboard>=1.15",
73+
"tensorboard>=2.14",
74+
# adding six explicit dependency since tensorboard needs it but doesn't declare it as a dep
75+
"six>=1.16",
7476
# cattrs 1.1.0 dropped support for python 3.6, but 1.0.0 doesn't work for python 3.9
7577
# Since there's no version that supports both, we have to draw the line somwehere.
7678
"cattrs<1.1.0; python_version<'3.8'",

0 commit comments

Comments
 (0)