Skip to content

Commit 94e5f72

Browse files
authored
Update dependencies and fix doc build (#416)
* Update dependencies and fix doc build * Fix requirement file
1 parent 2f2da38 commit 94e5f72

7 files changed

+20
-13
lines changed

.readthedocs.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ formats: all
1414
# Set requirements using conda env
1515
conda:
1616
environment: docs/conda_env.yml
17+
18+
build:
19+
os: ubuntu-22.04
20+
tools:
21+
python: "mambaforge-22.9"

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
## Release 2.2.0a4 (WIP)
1+
## Release 2.2.0a8 (WIP)
22

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

68
### New Features
79
- Add `--eval-env-kwargs` to `train.py` (@Quentin18)

docs/conda_env.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ dependencies:
1313
- pandas
1414
- numpy
1515
- matplotlib
16-
- sphinx_autodoc_typehints
17-
- sphinx>=5.3,<7.0
18-
- sphinx_rtd_theme>=1.0
16+
- sphinx>=5,<8
17+
- sphinx_rtd_theme>=1.3.0
1918
- sphinx_copybutton
2019
- sb3-contrib>=2.0.0
2120
- optuna
22-
- huggingface_sb3>=2.2.1
21+
- huggingface_sb3>=3.0
2322
- rich
2423
- tqdm
2524
- pyyaml>=5.1

docs/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
# ones.
6565
extensions = [
6666
"sphinx.ext.autodoc",
67-
"sphinx_autodoc_typehints",
6867
"sphinx.ext.autosummary",
6968
"sphinx.ext.mathjax",
7069
"sphinx.ext.ifconfig",
@@ -73,6 +72,8 @@
7372
# 'sphinx.ext.doctest'
7473
]
7574

75+
autodoc_typehints = "description"
76+
7677
if enable_spell_check:
7778
extensions.append("sphinxcontrib.spelling")
7879

requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gym==0.26.2
2-
stable-baselines3[extra_no_roms,tests,docs]>=2.1.0
3-
sb3-contrib>=2.1.0
2+
stable-baselines3[extra_no_roms,tests,docs]>=2.2.0a8,<3.0
3+
sb3-contrib>=2.2.0a8,<3.0
44
box2d-py==2.3.8
55
pybullet
66
pybullet_envs_gymnasium
@@ -15,7 +15,7 @@ plotly
1515
# panda-gym~=3.0.1
1616
rliable>=1.0.5
1717
wandb
18-
huggingface_sb3>=2.3
18+
huggingface_sb3>=3.0,<4.0
1919
seaborn
2020
tqdm
2121
rich

rl_zoo3/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0a4
1+
2.2.0a8

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
},
2828
entry_points={"console_scripts": ["rl_zoo3=rl_zoo3.cli:main"]},
2929
install_requires=[
30-
"sb3_contrib>=2.1.0",
30+
"sb3_contrib>=2.2.0a8,<3.0",
3131
"gymnasium~=0.29.1",
32-
"huggingface_sb3>=2.3",
32+
"huggingface_sb3>=3.0,<4.0",
3333
"tqdm",
3434
"rich",
3535
"optuna>=3.0",
@@ -38,7 +38,7 @@
3838
# TODO: add test dependencies
3939
],
4040
extras_require={
41-
"plots": ["seaborn", "rliable>=1.0.5", "scipy~=1.7.3"],
41+
"plots": ["seaborn", "rliable>=1.0.5", "scipy~=1.10"],
4242
},
4343
description="A Training Framework for Stable Baselines3 Reinforcement Learning Agents",
4444
author="Antonin Raffin",

0 commit comments

Comments
 (0)