From e619e1bceb07aba4bbb1e9a333ca8314f367c5bc Mon Sep 17 00:00:00 2001 From: Mark Towers Date: Sat, 25 Mar 2023 00:16:34 +0000 Subject: [PATCH] Import `vector` in `gymnasium.__init__` (#403) --- gymnasium/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gymnasium/__init__.py b/gymnasium/__init__.py index b239dae22..ea27bac05 100644 --- a/gymnasium/__init__.py +++ b/gymnasium/__init__.py @@ -1,6 +1,5 @@ """Root `__init__` of the gymnasium module setting the `__all__` of gymnasium modules.""" # isort: skip_file -# pyright: reportUnsupportedDunderAll=false from gymnasium.core import ( Env, @@ -21,6 +20,7 @@ from gymnasium.envs.registration import ( # necessary for `envs.__init__` which registers all gymnasium environments and loads plugins from gymnasium import envs +from gymnasium import experimental, spaces, utils, vector, wrappers, error, logger __all__ = [ @@ -48,7 +48,8 @@ __all__ = [ "error", "logger", ] -__version__ = "0.28.0" +__version__ = "0.28.1" + # Initializing pygame initializes audio connections through SDL. SDL uses alsa by default on all Linux systems # SDL connecting to alsa frequently create these giant lists of warnings every time you import an environment using