Skip to content

Commit 483319b

Browse files
authored
Release v1.8.0 (#374)
1 parent 8729ec2 commit 483319b

File tree

5 files changed

+13
-17
lines changed

5 files changed

+13
-17
lines changed

CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
## Release 1.8.0a13 (WIP)
1+
## Release 1.8.0 (2023-04-07)
2+
3+
**New Documentation, Multi-Env HerReplayBuffer**
4+
5+
> **Warning**
6+
> Stable-Baselines3 (SB3) v1.8.0 will be the last one to use Gym as a backend.
7+
Starting with v2.0.0, Gymnasium will be the default backend (though SB3 will have compatibility layers for Gym envs).
8+
You can find a migration guide [here](https://gymnasium.farama.org/content/migration-guide/).
9+
If you want to try the SB3 v2.0 alpha version, you can take a look at [PR #1327](https://github.com/DLR-RM/stable-baselines3/pull/1327).
210

311
### Breaking Changes
412
- Upgraded to SB3 >= 1.8.0

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gym==0.21
2-
stable-baselines3[extra_no_roms,tests,docs]>=1.8.0a13,<2.0
3-
sb3-contrib>=1.8.0a13,<2.0
2+
stable-baselines3[extra_no_roms,tests,docs]>=1.8.0,<2.0
3+
sb3-contrib>=1.8.0,<2.0
44
box2d-py==2.3.8
55
pybullet
66
gym-minigrid

rl_zoo3/train.py

-12
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,6 @@ def train() -> None:
130130
help="Custom yaml file or python package from which the hyperparameters will be loaded."
131131
"We expect that python packages contain a dictionary called 'hyperparams' which contains a key for each environment.",
132132
)
133-
parser.add_argument(
134-
"-yaml",
135-
"--yaml-file",
136-
type=str,
137-
default=None,
138-
help="This parameter is deprecated, please use `--conf-file` instead",
139-
)
140133
parser.add_argument("-uuid", "--uuid", action="store_true", default=False, help="Ensure that the run has a unique ID")
141134
parser.add_argument(
142135
"--track",
@@ -166,11 +159,6 @@ def train() -> None:
166159
env_id = args.env
167160
registered_envs = set(gym.envs.registry.env_specs.keys()) # pytype: disable=module-attr
168161

169-
if args.yaml_file is not None:
170-
raise ValueError(
171-
"The`--yaml-file` parameter is deprecated and will be removed in RL Zoo3 v1.8, please use `--conf-file` instead",
172-
)
173-
174162
# If the environment is not found, suggest the closest match
175163
if env_id not in registered_envs:
176164
try:

rl_zoo3/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0a13
1+
1.8.0

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
entry_points={"console_scripts": ["rl_zoo3=rl_zoo3.cli:main"]},
2929
install_requires=[
30-
"sb3-contrib>=1.8.0a13,<2.0",
30+
"sb3-contrib>=1.8.0,<2.0",
3131
"huggingface_sb3>=2.2.1",
3232
"tqdm",
3333
"rich",

0 commit comments

Comments
 (0)