Add support for python 3.11 (#71)

This commit is contained in:
Mark Towers
2022-12-01 12:51:17 +00:00
committed by GitHub
parent e9f4655939
commit 3dfb4a396d
5 changed files with 12 additions and 8 deletions

View File

@@ -32,6 +32,9 @@ jobs:
- os: ubuntu-latest
python: 310
platform: manylinux_x86_64
- os: ubuntu-latest
python: 311
platform: manylinux_x86_64
steps:
- uses: actions/checkout@v3

View File

@@ -27,7 +27,7 @@ To install the base Gymnasium library, use `pip install gymnasium`
This does not include dependencies for all families of environments (there's a massive number, and some can be problematic to install on certain systems). You can install these dependencies for one family like `pip install "gymnasium[atari]"` or use `pip install "gymnasium[all]"` to install all dependencies.
We support and test for Python 3.7, 3.8, 3.9 and 3.10 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
We support and test for Python 3.7, 3.8, 3.9, 3.10, 3.11 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
## API

View File

@@ -8,7 +8,7 @@ opencv-python>=3.0
lz4>=3.1.0
matplotlib>=3.0
box2d-py==2.3.5
pygame==2.1.0
pygame==2.1.3.dev8
ale-py~=0.8.0
mujoco==2.2
mujoco_py<2.2,>=2.1

View File

@@ -36,12 +36,12 @@ def get_version():
extras: Dict[str, List[str]] = {
"atari": ["shimmy[atari]>=0.1.0,<1.0"],
"accept-rom-license": ["autorom[accept-rom-license]~=0.4.2"],
"box2d": ["box2d-py==2.3.5", "pygame==2.1.0", "swig==4.*"],
"classic_control": ["pygame==2.1.0"],
"mujoco_py": ["mujoco_py<2.2,>=2.1"],
"box2d": ["box2d-py==2.3.5", "pygame==2.1.3.dev8", "swig==4.*"],
"classic_control": ["pygame==2.1.3.dev8"],
"mujoco_py": ["mujoco_py"],
"mujoco": ["mujoco==2.2", "imageio>=2.14.1"],
"toy_text": ["pygame==2.1.0"],
"jax": ["jax==0.3.20", "jaxlib==0.3.20"],
"toy_text": ["pygame==2.1.3.dev8"],
"jax": ["jax==0.3.25", "jaxlib==0.3.25"],
"other": ["lz4>=3.1.0", "opencv-python>=3.0", "matplotlib>=3.0", "moviepy>=1.0.0"],
}
@@ -97,6 +97,7 @@ setup(
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
extras_require=extras,
zip_safe=False,

View File

@@ -4,7 +4,7 @@ opencv-python>=3.0
mujoco==2.2.0
matplotlib>=3.0
imageio>=2.14.1
pygame==2.1.0
pygame==2.1.3.dev8
mujoco_py<2.2,>=2.1
pytest==7.1.3
gym==0.26.2