From db9ee577afebb63cd4cb5b0fc8ddd03c5bf08298 Mon Sep 17 00:00:00 2001 From: Florian Felten Date: Thu, 24 Oct 2024 11:51:00 +0200 Subject: [PATCH] Add python 3.12 --- .github/workflows/test.yml | 5 ++--- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aeec166f..22e40116 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,10 +8,10 @@ on: jobs: linux-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -23,7 +23,6 @@ jobs: pip install pytest sudo apt-get update sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev libosmesa6-dev xvfb patchelf ffmpeg cmake swig - # pip install git+https://github.com/Farama-Foundation/PettingZoo.git pip install -e .[all] - name: Full Python tests run: | diff --git a/pyproject.toml b/pyproject.toml index 6009823f..10efb7d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ] @@ -105,7 +106,7 @@ momaland = [ [tool.black] line-length = 127 -target-version = ['py38', 'py39', 'py310', 'py311'] +target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' [tool.isort]