Release v1.8.0 (#173)

This commit is contained in:
Antonin RAFFIN 2023-04-08 15:50:04 +02:00 committed by GitHub
parent aacded79c5
commit a84ad3aa7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 10 deletions

View File

@ -3,9 +3,17 @@
Changelog
==========
Release 1.8.0a14 (WIP)
Release 1.8.0 (2023-04-07)
--------------------------
.. warning::
Stable-Baselines3 (SB3) v1.8.0 will be the last one to use Gym as a backend.
Starting with v2.0.0, Gymnasium will be the default backend (though SB3 will have compatibility layers for Gym envs).
You can find a migration guide here: https://gymnasium.farama.org/content/migration-guide/.
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>`_.
Breaking Changes:
^^^^^^^^^^^^^^^^^
- Removed shared layers in ``mlp_extractor`` (@AlexPasqua)
@ -23,10 +31,11 @@ Deprecations:
Others:
^^^^^^^
- Moved to pyproject.toml (except flake8)
- Moved to pyproject.toml
- Added github issue forms
- Fixed Atari Roms download in CI
- Fixed ``sb3_contrib/qrdqn/*.py`` type hints
- Switched from ``flake8`` to ``ruff``
Documentation:
^^^^^^^^^^^^^^

View File

@ -270,12 +270,6 @@ class MaskableActorCriticPolicy(BasePolicy):
:return: the model's action and the next state
(used in recurrent policies)
"""
# TODO (GH/1): add support for RNN policies
# if state is None:
# state = self.initial_state
# if episode_start is None:
# episode_start = [False for _ in range(self.n_envs)]
# Switch to eval mode (this affects batch norm / dropout)
self.set_training_mode(False)

View File

@ -1 +1 @@
1.8.0a14
1.8.0

View File

@ -65,7 +65,7 @@ setup(
packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
package_data={"sb3_contrib": ["py.typed", "version.txt"]},
install_requires=[
"stable_baselines3>=1.8.0a14",
"stable_baselines3>=1.8.0,<2.0",
],
description="Contrib package of Stable Baselines3, experimental code.",
author="Antonin Raffin",