Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add python==3.13 and drop python==3.8 #1175

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
700373d
Update humanoid_v5.py
Kallinteris-Andreas Mar 24, 2024
e169b8f
Update humanoidstandup_v5.py
Kallinteris-Andreas Mar 24, 2024
aa8f637
Merge branch 'Farama-Foundation:main' into main
Kallinteris-Andreas May 23, 2024
2f656e3
Update mujoco_env.py
Kallinteris-Andreas May 23, 2024
13f67fe
Update test_mujoco_v5.py
Kallinteris-Andreas May 23, 2024
a2d8e70
Merge branch 'Farama-Foundation:main' into main
Kallinteris-Andreas May 31, 2024
93d8a0c
`pre-commit`
Kallinteris-Andreas Jun 1, 2024
5ca94b4
Update test_mujoco_v5.py
Kallinteris-Andreas Jun 1, 2024
52c04fb
Trigger Build
Kallinteris-Andreas Jun 5, 2024
0df9473
Update test_mujoco_v5.py
Kallinteris-Andreas Jun 5, 2024
e8943b6
`pre-commit`
Kallinteris-Andreas Jun 5, 2024
faec0df
Merge branch 'Farama-Foundation:main' into main
Kallinteris-Andreas Sep 24, 2024
63177ce
Update run-pytest.yml
Kallinteris-Andreas Sep 25, 2024
6115ccc
Update pyproject.toml
Kallinteris-Andreas Sep 25, 2024
7fc3ffe
Update pyproject.toml
Kallinteris-Andreas Sep 25, 2024
aeb1aab
Update pyproject.toml
Kallinteris-Andreas Sep 25, 2024
4620044
Merge branch 'Farama-Foundation:main' into py313
Kallinteris-Andreas Sep 25, 2024
5451d84
Update README.md
Kallinteris-Andreas Sep 25, 2024
079c1bf
Merge branch 'Farama-Foundation:main' into py313
Kallinteris-Andreas Oct 1, 2024
ceb897a
Update run-pytest.yml
Kallinteris-Andreas Oct 1, 2024
be728b1
Update run-pytest.yml
Kallinteris-Andreas Oct 2, 2024
b3092cc
Update run-pytest.yml
Kallinteris-Andreas Oct 2, 2024
b1e5f6f
Merge branch 'Farama-Foundation:main' into py313
Kallinteris-Andreas Oct 7, 2024
0be7f34
Update run-pytest.yml
Kallinteris-Andreas Oct 7, 2024
20f9710
Merge branch 'Farama-Foundation:main' into py313
Kallinteris-Andreas Oct 23, 2024
e6f4109
Update pyproject.toml
Kallinteris-Andreas Oct 23, 2024
2990556
Update .pre-commit-config.yaml
Kallinteris-Andreas Oct 23, 2024
14584d0
Merge branch 'Farama-Foundation:main' into py313
Kallinteris-Andreas Nov 21, 2024
dfa349b
Update README.md
Kallinteris-Andreas Dec 3, 2024
37240a9
Update README.md
Kallinteris-Andreas Dec 3, 2024
c20bb25
Merge branch 'Farama-Foundation:main' into py313
Kallinteris-Andreas Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
numpy-version: ['>=1.21,<2.0', '>=2.0']
exclude:
- python-version: '3.8' # numpy>=2.0 requires Python>=3.9
- python-version: '3.9' # numpy>=2.0 requires Python>=3.9
numpy-version: '>=2.0'
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
- run: |
docker build -f bin/necessary-py.Dockerfile \
--build-arg PYTHON_VERSION='3.10' \
--build-arg PYTHON_VERSION='3.12' \
--tag gymnasium-necessary-docker .
- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
rev: v3.17.0
hooks:
- id: pyupgrade
args: ["--py38-plus"]
args: ["--py39-plus"]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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.8, 3.9, 3.10, 3.11 and 3.12 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
Kallinteris-Andreas marked this conversation as resolved.
Show resolved Hide resolved
We support and test for Linux and macOS. We will accept PRs related to Windows, but do not officially support it.

## API

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ build-backend = "setuptools.build_meta"
name = "gymnasium"
description = "A standard API for reinforcement learning and a diverse set of reference environments (formerly Gym)."
readme = "README.md"
requires-python = ">= 3.8"
requires-python = ">= 3.9"
authors = [{ name = "Farama Foundation", email = "[email protected]" }]
license = { text = "MIT License" }
keywords = ["Reinforcement Learning", "game", "RL", "AI", "gymnasium"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
Expand Down
Loading