Upgrade min SB3 version (#70)

* Upgrade min SB3 version

* Fix for newer sphinx version
This commit is contained in:
Antonin RAFFIN 2022-05-29 15:54:23 -04:00 committed by GitHub
parent bec00386d1
commit cd592a111f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 8 deletions

View File

@ -29,10 +29,9 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
# cpu version of pytorch # cpu version of pytorch
pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html
# Install dependencies for docs and tests
pip install stable_baselines3[extra,tests,docs]
# Install master version # Install master version
pip install git+https://github.com/DLR-RM/stable-baselines3 # and dependencies for docs and tests
pip install git+https://github.com/DLR-RM/stable-baselines3#egg=stable_baselines3[extra,tests,docs]
pip install . pip install .
# Use headless version # Use headless version
pip install opencv-python-headless pip install opencv-python-headless

View File

@ -100,7 +100,7 @@ master_doc = "index"
# #
# This is also used if you do content translation via gettext catalogs. # This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases. # Usually you set "language" from the command line for these cases.
language = None language = "en"
# List of patterns, relative to source directory, that match files and # List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files. # directories to ignore when looking for source files.

View File

@ -3,12 +3,12 @@
Changelog Changelog
========== ==========
Release 1.5.1a5 (WIP) Release 1.5.1a7 (WIP)
------------------------------- -------------------------------
Breaking Changes: Breaking Changes:
^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
- Upgraded to Stable-Baselines3 >= 1.5.1a5 - Upgraded to Stable-Baselines3 >= 1.5.1a7
- Changed the way policy "aliases" are handled ("MlpPolicy", "CnnPolicy", ...), removing the former - Changed the way policy "aliases" are handled ("MlpPolicy", "CnnPolicy", ...), removing the former
``register_policy`` helper, ``policy_base`` parameter and using ``policy_aliases`` static attributes instead (@Gregwar) ``register_policy`` helper, ``policy_base`` parameter and using ``policy_aliases`` static attributes instead (@Gregwar)
- Renamed ``rollout/exploration rate`` key to ``rollout/exploration_rate`` for QRDQN (to be consistent with SB3 DQN) - Renamed ``rollout/exploration rate`` key to ``rollout/exploration_rate`` for QRDQN (to be consistent with SB3 DQN)

View File

@ -1 +1 @@
1.5.1a5 1.5.1a7

View File

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