Skip to content

Commit f7fecad

Browse files
authored
Fix CI errors (#648)
* Fix error * Try bumping windows cache version * Try bumping windows cache version * Trying upgrading the Windows orb * Remove autorom from dependencies * Revert all and add openssl as a dependency * Bump cache version
1 parent 5256368 commit f7fecad

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.circleci/config.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ commands:
4949
# Download and cache dependencies
5050
- restore_cache:
5151
keys:
52-
- v6-linux-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
52+
- v7linux-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
5353

5454
- run:
5555
name: install dependencies
@@ -59,7 +59,7 @@ commands:
5959
- save_cache:
6060
paths:
6161
- /venv
62-
key: v6-linux-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
62+
key: v7linux-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
6363

6464
- run:
6565
name: install imitation
@@ -80,7 +80,7 @@ commands:
8080

8181
- restore_cache:
8282
keys:
83-
- v6-macos-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
83+
- v7macos-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
8484

8585
- run:
8686
name: install dependencies
@@ -92,7 +92,7 @@ commands:
9292
- save_cache:
9393
paths:
9494
- ~/venv
95-
key: v6-macos-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
95+
key: v7macos-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.sh" }}
9696

9797
- run:
9898
name: install imitation
@@ -122,13 +122,14 @@ commands:
122122
# Download and cache dependencies
123123
- restore_cache:
124124
keys:
125-
- v6-win-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.ps1" }}
125+
- v7win-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.ps1" }}
126126

127127
- run:
128128
name: install python and binary dependencies
129129
command: |
130130
choco install --side-by-side -y python --version=3.8.10
131131
choco install -y ffmpeg
132+
choco install -y openssl
132133
shell: powershell.exe
133134

134135
- run:
@@ -151,7 +152,7 @@ commands:
151152
- save_cache:
152153
paths:
153154
- .\venv
154-
key: v6-win-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.ps1" }}
155+
key: v7win-dependencies-{{ checksum "setup.py" }}-{{ checksum "ci/build_and_activate_venv.ps1" }}
155156

156157
- run:
157158
name: install imitation

tests/data/test_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_replay_buffer(capacity, chunk_len, obs_shape, act_shape, dtype):
145145
assert sample.next_obs.dtype == dtype
146146
assert info_vals.dtype == dtype
147147
assert sample.dones.dtype == bool
148-
assert sample.infos.dtype == np.object
148+
assert sample.infos.dtype == object
149149

150150
# Are samples in range?
151151
_check_bound(i + chunk_len, capacity, sample.obs)

0 commit comments

Comments
 (0)