mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-31 13:54:31 +00:00
Add support for python 3.11 (#71)
This commit is contained in:
3
.github/workflows/build-publish.yml
vendored
3
.github/workflows/build-publish.yml
vendored
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
11
setup.py
11
setup.py
@@ -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,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user