Skip to content

Commit

Permalink
Update dependencies (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin authored Mar 27, 2024
1 parent aa38145 commit 6367429
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Release 2.3.0a2 (WIP)
## Release 2.3.0a4 (WIP)

### Breaking Changes
- Updated defaults hyperparameters for TD3/DDPG to be more consistent with SAC
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ type: mypy
lint:
# stop the build if there are Python syntax errors or undefined names
# see https://www.flake8rules.com/
ruff ${LINT_PATHS} --select=E9,F63,F7,F82 --output-format=full
ruff check ${LINT_PATHS} --select=E9,F63,F7,F82 --output-format=full
# exit-zero treats all errors as warnings.
ruff ${LINT_PATHS} --exit-zero
ruff check ${LINT_PATHS} --exit-zero

format:
# Sort imports
ruff --select I ${LINT_PATHS} --fix
ruff check --select I ${LINT_PATHS} --fix
# Reformat using black
black ${LINT_PATHS}

check-codestyle:
# Sort imports
ruff --select I ${LINT_PATHS}
ruff check --select I ${LINT_PATHS}
# Reformat using black
black --check ${LINT_PATHS}

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gym==0.26.2
stable-baselines3[extra_no_roms,tests,docs]>=2.3.0a1,<3.0
stable-baselines3[extra_no_roms,tests,docs]>=2.3.0a4,<3.0
box2d-py==2.3.8
pybullet_envs_gymnasium>=0.4.0
# minigrid
Expand Down
2 changes: 1 addition & 1 deletion rl_zoo3/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0a2
2.3.0a4
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
See https://github.com/DLR-RM/rl-baselines3-zoo
"""
install_requires = [
"sb3_contrib>=2.3.0a1,<3.0",
"sb3_contrib>=2.3.0a4,<3.0",
"gymnasium~=0.29.1",
"huggingface_sb3>=3.0,<4.0",
"tqdm",
Expand Down
3 changes: 3 additions & 0 deletions tests/test_enjoy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

from rl_zoo3.utils import get_hf_trained_models, get_trained_models

# Test models from sb3 organization can be trusted
os.environ["TRUST_REMOTE_CODE"] = "True"


def _assert_eq(left, right):
assert left == right, f"{left} != {right}"
Expand Down

0 comments on commit 6367429

Please sign in to comment.