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:
Mark Towers 2023-07-18 13:22:22 +01:00 committed by GitHub
parent fa7a3168f3
commit 61e1060525
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View file

@ -4,7 +4,7 @@ Changelog
==========
Release 2.1.0a0 (WIP)
Release 2.1.0a1 (WIP)
--------------------------
Breaking Changes:
@ -15,6 +15,7 @@ Breaking Changes:
New Features:
^^^^^^^^^^^^^
- Added Python 3.11 support
- Added Gymnasium 0.29 support (@pseudo-rnd-thoughts)
`SB3-Contrib`_
^^^^^^^^^^^^^^
@ -1396,4 +1397,4 @@ And all the contributors:
@Melanol @qgallouedec @francescoluciano @jlp-ue @burakdmb @timothe-chaumont @honglu2875
@anand-bala @hughperkins @sidney-tio @AlexPasqua @dominicgkerr @Akhilez @Rocamonde @tobirohrer @ZikangXiong
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
@lutogniew @lbergmann1 @lukashass @BertrandDecoster
@lutogniew @lbergmann1 @lukashass @BertrandDecoster @pseudo-rnd-thoughts

View file

@ -100,7 +100,7 @@ setup(
packages=[package for package in find_packages() if package.startswith("stable_baselines3")],
package_data={"stable_baselines3": ["py.typed", "version.txt"]},
install_requires=[
"gymnasium==0.28.1",
"gymnasium>=0.28.1,<0.30",
"numpy>=1.20",
"torch>=1.13",
# For saving models

View file

@ -1 +1 @@
2.1.0a0
2.1.0a1

View file

@ -156,8 +156,6 @@ def test_non_default_spaces(new_obs_space):
spaces.Box(low=-1000, high=1000, shape=(3,), dtype=np.float32),
# Too small range
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
spaces.Box(low=1, high=1, shape=(2,), dtype=np.float32),
# Unbounded action space