diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 7ded82063..888eb1e7d 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -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 @@ -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: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58954ef88..44fcf4bf9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/README.md b/README.md index 6970b3ac4..56aabde58 100644 --- a/README.md +++ b/README.md @@ -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. +We support and test for Linux and macOS. We will accept PRs related to Windows, but do not officially support it. ## API diff --git a/pyproject.toml b/pyproject.toml index ceda386c2..d6ecb2e4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ 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 = "contact@farama.org" }] license = { text = "MIT License" } keywords = ["Reinforcement Learning", "game", "RL", "AI", "gymnasium"] @@ -16,11 +16,11 @@ 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', ]