* 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
* initial commit
* Fix the multi-binary sample and upgrade multi-discrete sample
* Fix MultiBinary sample tests and pre-commit
* Adds coverage tests and updates test_utils.py to use the utils.py spaces. Fix bug in text.py
* pre-commit
* 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
* 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
* removed return_info, made info dict mandatory in reset
* tenatively removed deprecated seed api for environments
* added more info type checks to wrapper tests
* formatting/style compliance
* addressed some comments
* polish to address review
* fixed tests after merge, and added a test of the return_info deprecation assertion if found in reset signature
* some organization of env_checker tests, reverted a probably merge error
* added deprecation check for seed function in env
* updated docstring
* removed debug prints, tweaked test_check_seed_deprecation
* changed return_info deprecation check from assertion to warning
* fixes to vector envs, now should be correctly structured
* added some explanation and typehints for mockup depcreated return info reset function
* re-removed seed function from vector envs
* added explanation to _reset_return_info_type and changed the return statement
* Initial commit
* Fixed tests and forced TimeLimit.truncated to always exist when truncated or terminated
* Fix CI issues
* pre-commit
* Revert back to old language
* Revert changes to step api wrapper
* Try to fix car racing unpickling
* Fix EzPickle for BipedalWalker and LunarLander
* Shamelessly steal the pickle-unpickle test from Mark, with slight modifications
* CarRacing EzPickle fix
* Mujoco ezpickle fix
* Added Sequence space, updated flatten functions to work with Sequence, Graph. WIP.
* Small fixes, added Sequence space to tests
* Replace Optional[Any] by Any
* Added tests for flattening of non-numpy-flattenable spaces
* Return all seeds
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset
* Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)"
This reverts commit 519dfd9117.
* Remove bad pushed commits
* Fixed spelling in core.py
* Pins pytest to the last py 3.6 version
* Add Text space
* Add Text space
* Added Text space
* Updated comment
* Allow Box automatic scalar shape
* Add test box and change default from () to (1,)
* Refactored conditional
* Refactored contains()
* update Box shape inference with more strict checking
* Update the box shape and add check on the custom Box shape
* Removed incorrect shape type and assert shape code
* Update the Box and associated tests
* Move dependency error to inside the atari environment
* Update the gym version to v0.25.0
* Fixed bugs in Text space and tests
* Code review by Drew
Co-authored-by: Ryan Rudes <ryanrudes@gmail.com>
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset
* Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)"
This reverts commit 519dfd9117.
* Remove bad pushed commits
* Fixed spelling in core.py
* Pins pytest to the last py 3.6 version
* Allow Box automatic scalar shape
* Add test box and change default from () to (1,)
* update Box shape inference with more strict checking
* Update the box shape and add check on the custom Box shape
* Removed incorrect shape type and assert shape code
* Update the Box and associated tests
* Remove all folders and files from pyright exclude
* Revert issues
* Push RedTachyon code review
* Add Python Platform
* Remove play from pyright check
* Fixed CI issues
* remove mujoco env type hinting
* Fixed pixel observation test
* Added some new type hints
* Fixed CI errors
* Fixed CI errors
* Remove play.py from exlucde pyright
* Fixed pyright issues
* Update pyproject.toml
* Maybe fix typing for frozen lake and taxi
* Clean up pyproject a bit
* Reenable box2d pyright
* Disable box2d pyright
* Fix typing for toy text envs
* Narrow down pyright excludes for almost everything except mujoco
* Fix a wrapper test typing
* Remove env checker from excludes
* Remove redundant type hints which mess up pyright. And a typo fix.
* Remove test_spaces exclude
* Remove some redundant warnings
* Change pyright ignore to more specific
* Fix a weird private variable which gets explicitly exported for whatever reason. It's still exported for backwards compatibility, but internal code now uses a public variable.
* re-export the private variable
* Fix lunar_lander typing
* Remove lunar lander from excludes
* Small fix
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset
* Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)"
This reverts commit 519dfd9117.
* Remove bad pushed commits
* Fixed spelling in core.py
* Pins pytest to the last py 3.6 version
* Allow Box automatic scalar shape
* Add test box and change default from () to (1,)
* update Box shape inference with more strict checking
* Update the box shape and add check on the custom Box shape
* Removed incorrect shape type and assert shape code
* Update the Box and associated tests
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset
* Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)"
This reverts commit 519dfd9117.
* Remove bad pushed commits
* Fixed spelling in core.py
* Pins pytest to the last py 3.6 version
* Add support for action masking in Space.sample(mask=...)
* Fix action mask
* Fix action_mask
* Fix action_mask
* Added docstrings, fixed bugs and added taxi examples
* Fixed bugs
* Add tests for sample
* Add docstrings and test space sample mask Discrete and MultiBinary
* Add MultiDiscrete sampling and tests
* Remove sample mask from graph
* Update gym/spaces/multi_discrete.py
Co-authored-by: Markus Krimmel <montcyril@gmail.com>
* Updates based on Marcus28 and jjshoots for Graph.py
* Updates based on Marcus28 and jjshoots for Graph.py
* jjshoot review
* jjshoot review
* Update assert check
* Update type hints
Co-authored-by: Markus Krimmel <montcyril@gmail.com>