From fc1b423ff2dc826eb39415142a4dfb9be1c072f4 Mon Sep 17 00:00:00 2001 From: Florian Felten Date: Mon, 5 Jun 2023 17:14:41 +0200 Subject: [PATCH] Bump minimal python version, add python 311 --- .github/workflows/build-publish.yml | 3 --- .github/workflows/test.yml | 2 +- pyproject.toml | 7 +++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index a32ef55d..d44dc96d 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -20,9 +20,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - python: 37 - platform: manylinux_x86_64 - os: ubuntu-latest python: 38 platform: manylinux_x86_64 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be3f905b..749f13c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index 9fdd5942..ef10e5bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "mo-gymnasium" description="A standard API for MORL and a diverse set of reference environments." readme = "README.md" -requires-python = ">= 3.7" +requires-python = ">= 3.8" authors = [{ name = "Farama Foundation", email = "contact@farama.org" }] license = { text = "MIT License" } keywords = ["Reinforcement Learning", "Multi-Objective", "RL", "AI", "gymnasium"] @@ -14,7 +14,6 @@ classifiers = [ "Development Status :: 4 - Beta", # change to `5 - Production/Stable` when ready "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -81,7 +80,7 @@ mo_gymnasium = [ [tool.black] safe = true line-length = 127 -target-version = ['py37', 'py38', 'py39', 'py310'] +target-version = ['py38', 'py39', 'py310', 'py311'] include = '\.pyi?$' [tool.isort] @@ -99,7 +98,7 @@ exclude = ["**/node_modules", "**/__pycache__"] strict = [] typeCheckingMode = "basic" -pythonVersion = "3.7" +pythonVersion = "3.8" pythonPlatform = "All" typeshedPath = "typeshed" enableTypeIgnoreComments = true