mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-19 10:00:55 +00:00
Update Gymnasium to v0.29.0 (#1610)
* Update setup.py to v0.29.0 * Remove invalid test * Loosen version and update changelog --------- Co-authored-by: Antonin Raffin <antonin.raffin@ensta.org>
This commit is contained in:
parent
fa7a3168f3
commit
61e1060525
4 changed files with 5 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ Changelog
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
|
||||||
Release 2.1.0a0 (WIP)
|
Release 2.1.0a1 (WIP)
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
Breaking Changes:
|
Breaking Changes:
|
||||||
|
|
@ -15,6 +15,7 @@ Breaking Changes:
|
||||||
New Features:
|
New Features:
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
- Added Python 3.11 support
|
- Added Python 3.11 support
|
||||||
|
- Added Gymnasium 0.29 support (@pseudo-rnd-thoughts)
|
||||||
|
|
||||||
`SB3-Contrib`_
|
`SB3-Contrib`_
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
@ -1396,4 +1397,4 @@ And all the contributors:
|
||||||
@Melanol @qgallouedec @francescoluciano @jlp-ue @burakdmb @timothe-chaumont @honglu2875
|
@Melanol @qgallouedec @francescoluciano @jlp-ue @burakdmb @timothe-chaumont @honglu2875
|
||||||
@anand-bala @hughperkins @sidney-tio @AlexPasqua @dominicgkerr @Akhilez @Rocamonde @tobirohrer @ZikangXiong
|
@anand-bala @hughperkins @sidney-tio @AlexPasqua @dominicgkerr @Akhilez @Rocamonde @tobirohrer @ZikangXiong
|
||||||
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
|
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
|
||||||
@lutogniew @lbergmann1 @lukashass @BertrandDecoster
|
@lutogniew @lbergmann1 @lukashass @BertrandDecoster @pseudo-rnd-thoughts
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -100,7 +100,7 @@ setup(
|
||||||
packages=[package for package in find_packages() if package.startswith("stable_baselines3")],
|
packages=[package for package in find_packages() if package.startswith("stable_baselines3")],
|
||||||
package_data={"stable_baselines3": ["py.typed", "version.txt"]},
|
package_data={"stable_baselines3": ["py.typed", "version.txt"]},
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"gymnasium==0.28.1",
|
"gymnasium>=0.28.1,<0.30",
|
||||||
"numpy>=1.20",
|
"numpy>=1.20",
|
||||||
"torch>=1.13",
|
"torch>=1.13",
|
||||||
# For saving models
|
# For saving models
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.1.0a0
|
2.1.0a1
|
||||||
|
|
|
||||||
|
|
@ -156,8 +156,6 @@ def test_non_default_spaces(new_obs_space):
|
||||||
spaces.Box(low=-1000, high=1000, shape=(3,), dtype=np.float32),
|
spaces.Box(low=-1000, high=1000, shape=(3,), dtype=np.float32),
|
||||||
# Too small range
|
# Too small range
|
||||||
spaces.Box(low=-0.1, high=0.1, shape=(2,), dtype=np.float32),
|
spaces.Box(low=-0.1, high=0.1, shape=(2,), dtype=np.float32),
|
||||||
# Inverted boundaries
|
|
||||||
spaces.Box(low=1, high=-1, shape=(2,), dtype=np.float32),
|
|
||||||
# Same boundaries
|
# Same boundaries
|
||||||
spaces.Box(low=1, high=1, shape=(2,), dtype=np.float32),
|
spaces.Box(low=1, high=1, shape=(2,), dtype=np.float32),
|
||||||
# Unbounded action space
|
# Unbounded action space
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue