-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unwrap gymnasium Env before accessing mobile-env attributes (#59)
* Run test notebook in CI * WIP support gym v1.0 - BLOCKER: sb3 support Seems like the latest sb3 2.3.2 does not yet support gymnasium 1.0.0 --> shouldn't require it for mobile-env then * Lift gymnasium version requirements * Add sb3 to test requirements * Unwrap gym env inside Ray wrapper
- Loading branch information
1 parent
9e68760
commit c24f31d
Showing
7 changed files
with
415 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# extra requirements for testing | ||
pre-commit | ||
# limit importlib to avoid flake8 error: https://stackoverflow.com/a/73932581/2745116 | ||
importlib-metadata<5.0 | ||
importlib-metadata | ||
flake8 | ||
pytest | ||
nbmake | ||
# Older stable baselines versions do not support gymnasium | ||
#stable-baselines3>=2.0.0 | ||
sb3_contrib>=2.0.0a1 | ||
# Only Ray 2.3+ supports gymnasium | ||
# TODO: enable ray later; conflicts with sb3; not needed for tests | ||
#ray[rllib]>=2.3.0 | ||
stable-baselines3>=2.0.0 | ||
# Only Ray 2.3+ supports gymnasium. Ray 2.39 needs gymnasium 1.0 and isn't fully supported yet. | ||
#ray[rllib]>=2.3.0, <2.39 |