diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 88079fe4e..a4b69870a 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -31,6 +31,9 @@ jobs: - os: ubuntu-latest python: 311 platform: manylinux_x86_64 + - os: ubuntu-latest + python: 312 + platform: manylinux_x86_64 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/linux-test.yml b/.github/workflows/linux-test.yml index 7a7139b6b..536cd2e72 100644 --- a/.github/workflows/linux-test.yml +++ b/.github/workflows/linux-test.yml @@ -15,7 +15,7 @@ jobs: 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@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/macos-test.yml b/.github/workflows/macos-test.yml index 82e7a3d15..83d91809a 100644 --- a/.github/workflows/macos-test.yml +++ b/.github/workflows/macos-test.yml @@ -15,7 +15,7 @@ jobs: matrix: # Big Sur, Monterey os: [macos-11, macos-12] - 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@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/docs/code_examples/aec_rps_usage.py b/docs/code_examples/aec_rps_usage.py index 71edc4e73..da7d2111d 100644 --- a/docs/code_examples/aec_rps_usage.py +++ b/docs/code_examples/aec_rps_usage.py @@ -1,4 +1,4 @@ -import aec_rps +from . import aec_rps env = aec_rps.env(render_mode="human") env.reset(seed=42) diff --git a/docs/code_examples/parallel_rps_usage.py b/docs/code_examples/parallel_rps_usage.py index 38949eb78..a75aa153d 100644 --- a/docs/code_examples/parallel_rps_usage.py +++ b/docs/code_examples/parallel_rps_usage.py @@ -1,4 +1,4 @@ -import parallel_rps +from . import parallel_rps env = parallel_rps.parallel_env(render_mode="human") observations, infos = env.reset() diff --git a/pyproject.toml b/pyproject.toml index c0160ab17..73c99ea4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,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', ] @@ -31,34 +32,34 @@ dynamic = ["version"] [project.optional-dependencies] # Update dependencies in `all` if any are added or removed -atari = ["multi_agent_ale_py==0.1.11", "pygame==2.3.0"] +atari = ["multi_agent_ale_py>=0.1.11", "pygame>=2.3.0"] classic = [ - "chess==1.9.4", - "rlcard==1.0.5", - "pygame==2.3.0", + "chess>=1.9.4", + "rlcard>=1.0.5", + "pygame>=2.3.0", "shimmy[openspiel]>=1.2.0" ] -butterfly = ["pygame==2.3.0", "pymunk==6.2.0"] -mpe = ["pygame==2.3.0"] -sisl = ["pygame==2.3.0", "pymunk==6.2.0", "box2d-py==2.3.5", "scipy>=1.4.1"] +butterfly = ["pygame>=2.3.0", "pymunk>=6.2.0"] +mpe = ["pygame>=2.3.0"] +sisl = ["pygame>=2.3.0", "pymunk>=6.2.0", "box2d-py>=2.3.5", "scipy>=1.4.1"] other = ["pillow>=8.0.1"] testing = [ - "pynput==1.7.6", - "pytest==8.0.0", - "AutoROM==0.6.1", - "pytest-cov==4.1.0", - "pytest-xdist==3.5.0", - "pre-commit==3.5.0", - "pytest-markdown-docs==0.5.0" + "pynput>=1.7.6", + "pytest>=8.0.0", + "AutoROM>=0.6.1", + "pytest-cov>=4.1.0", + "pytest-xdist>=3.5.0", + "pre-commit>=3.5.0", + "pytest-markdown-docs>=0.5.0" ] all = [ - "multi_agent_ale_py==0.1.11", - "pygame==2.3.0", - "chess==1.9.4", - "rlcard==1.0.5", + "multi_agent_ale_py>=0.1.11", + "pygame>=2.3.0", + "chess>=1.9.4", + "rlcard>=1.0.5", "shimmy[openspiel]>=1.2.0", - "pymunk==6.2.0", - "box2d-py==2.3.5", + "pymunk>=6.2.0", + "box2d-py>=2.3.5", "scipy>=1.4.1", "pillow>=8.0.1", ] diff --git a/tutorials/Tianshou/requirements.txt b/tutorials/Tianshou/requirements.txt index b7b8d4a47..b92064488 100644 --- a/tutorials/Tianshou/requirements.txt +++ b/tutorials/Tianshou/requirements.txt @@ -1,3 +1,4 @@ -pettingzoo[classic]==1.23.0 -packaging==21.3 +numpy<2.0.0 +pettingzoo[classic]>=1.23.0 +packaging>=21.3 tianshou==0.5.0