From e06914e9835b8f3233b18d59943b1464b89ddb90 Mon Sep 17 00:00:00 2001 From: Antonin RAFFIN Date: Sun, 31 Mar 2024 21:05:42 +0200 Subject: [PATCH] Release v2.3.0 (#440) * Release v2.3.0 * [ci skip] Update coverage --- CHANGELOG.md | 2 +- README.md | 2 +- docs/conf.py | 5 +++-- requirements.txt | 2 +- rl_zoo3/version.txt | 2 +- setup.py | 8 +------- 6 files changed, 8 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d239f484..000096139 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Release 2.3.0a4 (WIP) +## Release 2.3.0 (2024-03-31) ### Breaking Changes - Updated defaults hyperparameters for TD3/DDPG to be more consistent with SAC diff --git a/README.md b/README.md index cd798c6e5..0b205060f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![CI](https://github.com/DLR-RM/rl-baselines3-zoo/workflows/CI/badge.svg) [![Documentation Status](https://readthedocs.org/projects/rl-baselines3-zoo/badge/?version=master)](https://rl-baselines3-zoo.readthedocs.io/en/master/?badge=master) -[![coverage report](https://gitlab.com/araffin/rl-baselines3-zoo/badges/master/coverage.svg)](https://gitlab.com/araffin/rl-baselines3-zoo/-/commits/master) [![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +![coverage report](https://img.shields.io/badge/coverage-68%25-brightgreen.svg?style=flat") [![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) diff --git a/docs/conf.py b/docs/conf.py index aa23918a7..113067604 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,7 +10,8 @@ # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -# + +import datetime import os import sys from typing import Dict @@ -44,7 +45,7 @@ # -- Project information ----------------------------------------------------- project = "RL Baselines3 Zoo" -copyright = "2023, Stable Baselines3" +copyright = f"2021-{datetime.date.today().year}, Stable Baselines3" author = "Stable Baselines3 Contributors" # The short X.Y version diff --git a/requirements.txt b/requirements.txt index cf49e729f..731d1ad53 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ gym==0.26.2 -stable-baselines3[extra_no_roms,tests,docs]>=2.3.0a4,<3.0 +stable-baselines3[extra_no_roms,tests,docs]>=2.3.0,<3.0 box2d-py==2.3.8 pybullet_envs_gymnasium>=0.4.0 # minigrid diff --git a/rl_zoo3/version.txt b/rl_zoo3/version.txt index 87ced0fe9..276cbf9e2 100644 --- a/rl_zoo3/version.txt +++ b/rl_zoo3/version.txt @@ -1 +1 @@ -2.3.0a4 +2.3.0 diff --git a/setup.py b/setup.py index fd455272f..be762639f 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ See https://github.com/DLR-RM/rl-baselines3-zoo """ install_requires = [ - "sb3_contrib>=2.3.0a4,<3.0", + "sb3_contrib>=2.3.0,<3.0", "gymnasium~=0.29.1", "huggingface_sb3>=3.0,<4.0", "tqdm", @@ -76,9 +76,3 @@ # Remove copied files after packaging shutil.rmtree(os.path.join("rl_zoo3", "hyperparams")) - - -# python setup.py sdist -# python setup.py bdist_wheel -# twine upload --repository-url https://test.pypi.org/legacy/ dist/* -# twine upload dist/*