Skip to content

Commit 3ac6127

Browse files
author
Vincent Moens
committed
[CI] Fix olddeps dm_control
ghstack-source-id: 750edcb Pull Request resolved: #2734
1 parent dbc8e2e commit 3ac6127

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/unittest/linux_olddeps/scripts_gym_0_13/environment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ channels:
22
- pytorch
33
- defaults
44
dependencies:
5-
- pip
5+
- pip<25.0
66
- protobuf
77
- pip:
88
- hypothesis
@@ -21,7 +21,6 @@ dependencies:
2121
- pyyaml
2222
- scipy
2323
- hydra-core
24-
- dm_control -e git+https://github.com/deepmind/dm_control.git@c053360edea6170acfd9c8f65446703307d9d352#egg={dm_control}
2524
- mujoco
2625
- patchelf
2726
- pyopengl==3.1.4

.github/unittest/linux_olddeps/scripts_gym_0_13/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export MKL_THREADING_LAYER=GNU
2222
export BATCHED_PIPE_TIMEOUT=60
2323

2424
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test.py -v --durations 200
25-
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k 'test_gym or test_dm_control_pixels or test_dm_control'
25+
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k 'test_gym'
2626

2727
export DISPLAY=':99.0'
2828
Xvfb :99 -screen 0 1400x900x24 > /dev/null 2>&1 &

.github/unittest/linux_olddeps/scripts_gym_0_13/setup_env.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ cp mjkey.txt mujoco_py/binaries/
6262
pip install -e .
6363
cd ..
6464

65-
#cd $this_dir
65+
# OLD DM_CONTROL NOT SUPPORTED ANYMORE
66+
# # Install dm_control
67+
# git clone https://github.com/deepmind/dm_control
68+
# cd dm_control
69+
# git checkout c053360edea6170acfd9c8f65446703307d9d352
70+
# pip install -e .
71+
# cd ..
6672

6773
# 4. Install Conda dependencies
6874
printf "* Installing dependencies (except PyTorch)\n"

0 commit comments

Comments
 (0)