Commit Graph

16 Commits

Author SHA1 Message Date
Mark Towers
320b52c041 Add shimmy for atari and removes the gym compatibility for the shimmy versions (#125) 2022-12-01 12:04:57 +00:00
Mark Towers
31025e391b Update the type hinting for core.py (#39) 2022-11-12 10:21:24 +00:00
Mark Towers
8589523a77 Change import gymnasium to import gymnasium as gym (#20) 2022-09-16 23:41:27 +01:00
pseudo-rnd-thoughts
47ba48b611 Rename to gymnasium 2022-09-08 10:11:31 +01:00
pseudo-rnd-thoughts
640c509109 Rename to gymnasium 2022-09-08 10:10:07 +01:00
Ariel Kwiatkowski
d818750547 Add a complete compatibility wrapper (#3066)
* Added a new compatibility wrapper along with tests

* Fix for 3.6 typing

* Fix for 3.6 typing again

* Add make integration

* Unrelated change that for some reason is necessary to fix pyright

* Ignore weird (and very non-critical) type check bug

* Adjust old tests

* Rename the compatibility argument in make

* Rename the compatibility argument in register and envspec

* Documentation updates

* Remove test envs from the registry

* Some rogue renames

* Add nicer str and repr to the compatibility layer

* Reorder the compatibility layer application

* Add metadata to test envs

* Add proper handling of automatic human rendering

* Add auto human rendering to reset

* Enable setting render_mode in gym.make

* Documentation update

* Fix an unrelated stochastic test
2022-09-06 11:20:04 -04:00
Mark Towers
0bcd49ec10 Updates the make and registration functions with better parameters and hints (#3041)
* Initial commit

* Add missing __init__ for EnvSpec

* third time a charm

* Replace entry_point=None with entry_point="no-entry-point"

* Readd make overloads, updated with all gym envs

* pre-commit

* Add apply_step_compatibility to make and add testing

* Code review by Arjun
2022-09-01 11:02:31 -04:00
Mark Towers
799c8d20c1 Rename "rgb_array" to "rgb_array_list" and "single_rgb_array" to "rgb_array" (#3040)
* initial commit

* Fix CI

* Fixed CI

* third time the charm

* Fix mujoco environment render modes order

* Remove unnecessary changes

* pre-commit

* Fix tests

* Comment out test render modes

* Fix code review and readd mujoco

* pre-commit

* Fix testing envs

* Fix all GenericTestEnvs

* Do not run mujoco-py render environments
2022-09-01 09:06:42 -04:00
Mark Towers
ab3e02db83 Reduce the number of unexpected warnings during testing (#3050)
* Initial commit

* Remove unnecessary `warnings.simplefilters`

* Fix tests for new step API

* Fix testing

Co-authored-by: Markus28 <montcyril@gmail.com>
2022-08-30 14:47:26 -04:00
Mark Towers
3ea8819803 backward compatibility when metadata doesn't include render mode (#2990) 2022-07-26 08:40:35 -04:00
Mark Towers
f3f8a970b7 Fixed tests for Car racing v2 (#2964) 2022-07-14 08:35:02 -04:00
Mark Towers
015b31fa76 Bug fix, add tests for environment checker and passive environment checker wrapper (#2903) 2022-07-10 21:45:24 -04:00
Arjun KG
907b1b20dd New Step API with terminated, truncated bools instead of done (#2752) 2022-07-09 16:48:06 -04:00
Markus Krimmel
cc7552f6de Properly check whether AttributeError is caused by render_mode (#2941) 2022-07-01 09:47:10 -04:00
Markus Krimmel
94081fbc0a Pitch: Wrapper that adds human-mode rendering to any environment with rgb_array-rendering (#2719) 2022-06-24 16:25:58 -04:00
Mark Towers
174c299697 Split test registration (#2900) 2022-06-23 08:54:50 -04:00