Skip to content

Commit 7224b20

Browse files
committed
amend
1 parent e2422d1 commit 7224b20

File tree

26 files changed

+35
-8
lines changed

26 files changed

+35
-8
lines changed

.github/unittest/linux_libs/scripts_ataridqn/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44

5+
export PATH="$HOME/.local/bin:$PATH"
56
root_dir="$(git rev-parse --show-toplevel)"
67
source "${root_dir}/.venv/bin/activate"
78

.github/unittest/linux_libs/scripts_brax/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -euxo pipefail
44

5+
export PATH="$HOME/.local/bin:$PATH"
56
root_dir="$(git rev-parse --show-toplevel)"
67
source "${root_dir}/.venv/bin/activate"
78

.github/unittest/linux_libs/scripts_chess/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44

5+
export PATH="$HOME/.local/bin:$PATH"
56
root_dir="$(git rev-parse --show-toplevel)"
67
source "${root_dir}/.venv/bin/activate"
78

.github/unittest/linux_libs/scripts_chess/setup_env.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ cat "${this_dir}/environment.yml"
5959

6060
uv pip install pip --upgrade
6161

62-
uv pip install anaconda::cmake -y
63-
uv pip install conda-forge::cairo -y
62+
uv pip install cairo
6463

6564
# Dependencies installed via uv pip (see converted script)

.github/unittest/linux_libs/scripts_d4rl/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44

5+
export PATH="$HOME/.local/bin:$PATH"
56
root_dir="$(git rev-parse --show-toplevel)"
67
source "${root_dir}/.venv/bin/activate"
78

.github/unittest/linux_libs/scripts_d4rl/setup_env.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ wget https://pytorch.s3.amazonaws.com/torchrl/github-artifacts/mujoco200_linux.z
7878
unzip mujoco200_linux.zip
7979
wget https://pytorch.s3.amazonaws.com/torchrl/github-artifacts/mjkey.txt
8080
cp mjkey.txt ./mujoco200_linux/bin/
81+
# 4. Install build dependencies FIRST (required for C++ extensions AND mujoco-py)
82+
printf "* Installing build dependencies\n"
83+
uv pip install setuptools wheel ninja "pybind11[global]"
84+
8185
# install mujoco-py locally
8286
git clone https://github.com/vmoens/mujoco-py.git
8387
cd mujoco-py
@@ -87,10 +91,6 @@ uv pip install poetry
8791
uv pip install -e . --no-build-isolation
8892
cd $this_dir
8993

90-
# 4. Install build dependencies FIRST (required for C++ extensions)
91-
printf "* Installing build dependencies\n"
92-
uv pip install setuptools wheel ninja "pybind11[global]"
93-
9494
# 5. Install test dependencies and libraries (except PyTorch)
9595
printf "* Installing dependencies from requirements.txt\n"
9696
uv pip install -r "${this_dir}/requirements.txt" setuptools

.github/unittest/linux_libs/scripts_envpool/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
set -e
1010

11+
export PATH="$HOME/.local/bin:$PATH"
1112
root_dir="$(git rev-parse --show-toplevel)"
1213
source "${root_dir}/.venv/bin/activate"
1314

.github/unittest/linux_libs/scripts_gen-dgrl/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44

5+
export PATH="$HOME/.local/bin:$PATH"
56
root_dir="$(git rev-parse --show-toplevel)"
67
source "${root_dir}/.venv/bin/activate"
78

.github/unittest/linux_libs/scripts_gym/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44

5+
export PATH="$HOME/.local/bin:$PATH"
56
root_dir="$(git rev-parse --show-toplevel)"
67
source "${root_dir}/.venv/bin/activate"
78

.github/unittest/linux_libs/scripts_gym/setup_env.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ printf "* Creating a test environment with uv
3535
uv venv "${env_dir}" --python="${PYTHON_VERSION}"
3636
source "${env_dir}/bin/activate"
3737

38+
# 3. Install build dependencies FIRST (required for C++ extensions AND mujoco-py)
39+
printf "* Installing build dependencies\n"
40+
uv pip install setuptools wheel ninja "pybind11[global]"
3841

39-
## 3. Install mujoco
42+
## 4. Install mujoco
4043
#printf "* Installing mujoco and related\n"
4144
#mkdir -p $root_dir/.mujoco
4245
#cd $root_dir/.mujoco/

0 commit comments

Comments
 (0)