Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and fix doc build #416

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ formats: all
# Set requirements using conda env
conda:
environment: docs/conda_env.yml

build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9"
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Release 2.2.0a4 (WIP)
## Release 2.2.0a8 (WIP)

### Breaking Changes
- Removed `gym` dependency, the package is still required for some pretrained agents.
- Upgraded to SB3 >= 2.2.0
- Upgraded to Huggingface-SB3 >= 3.0

### New Features
- Add `--eval-env-kwargs` to `train.py` (@Quentin18)
Expand Down
7 changes: 3 additions & 4 deletions docs/conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ dependencies:
- pandas
- numpy
- matplotlib
- sphinx_autodoc_typehints
- sphinx>=5.3,<7.0
- sphinx_rtd_theme>=1.0
- sphinx>=5,<8
- sphinx_rtd_theme>=1.3.0
- sphinx_copybutton
- sb3-contrib>=2.0.0
- optuna
- huggingface_sb3>=2.2.1
- huggingface_sb3>=3.0
- rich
- tqdm
- pyyaml>=5.1
Expand Down
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
# ones.
extensions = [
"sphinx.ext.autodoc",
"sphinx_autodoc_typehints",
"sphinx.ext.autosummary",
"sphinx.ext.mathjax",
"sphinx.ext.ifconfig",
Expand All @@ -73,6 +72,8 @@
# 'sphinx.ext.doctest'
]

autodoc_typehints = "description"

if enable_spell_check:
extensions.append("sphinxcontrib.spelling")

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gym==0.26.2
stable-baselines3[extra_no_roms,tests,docs]>=2.1.0
sb3-contrib>=2.1.0
stable-baselines3[extra_no_roms,tests,docs]>=2.2.0a8,<3.0
sb3-contrib>=2.2.0a8,<3.0
box2d-py==2.3.8
pybullet
pybullet_envs_gymnasium
Expand All @@ -15,7 +15,7 @@ plotly
# panda-gym~=3.0.1
rliable>=1.0.5
wandb
huggingface_sb3>=2.3
huggingface_sb3>=3.0,<4.0
seaborn
tqdm
rich
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.2.0a4
2.2.0a8
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
},
entry_points={"console_scripts": ["rl_zoo3=rl_zoo3.cli:main"]},
install_requires=[
"sb3_contrib>=2.1.0",
"sb3_contrib>=2.2.0a8,<3.0",
"gymnasium~=0.29.1",
"huggingface_sb3>=2.3",
"huggingface_sb3>=3.0,<4.0",
"tqdm",
"rich",
"optuna>=3.0",
Expand All @@ -38,7 +38,7 @@
# TODO: add test dependencies
],
extras_require={
"plots": ["seaborn", "rliable>=1.0.5", "scipy~=1.7.3"],
"plots": ["seaborn", "rliable>=1.0.5", "scipy~=1.10"],
},
description="A Training Framework for Stable Baselines3 Reinforcement Learning Agents",
author="Antonin Raffin",
Expand Down