Skip to content

Commit

Permalink
support Python 3.11 (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillDudley authored Dec 28, 2022
1 parent 36286d4 commit bbf00cc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- os: ubuntu-latest
python: 310
platform: manylinux_x86_64
- os: ubuntu-latest
python: 311
platform: manylinux_x86_64

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
# - uses: openrndr/setup-opengl@v1.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-tutorials-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
tutorial: ['CleanRL', 'Tianshou', 'EnvironmentCreation']
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion pettingzoo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = "hide"

__version__ = "1.22.2"
__version__ = "1.22.3"
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ def get_version():


extras = {
"atari": ["multi_agent_ale_py==0.1.11", "pygame==2.1.0"],
"atari": ["multi_agent_ale_py==0.1.11", "pygame==2.1.3.dev8"],
"classic": [
"chess==1.7.0",
"rlcard==1.0.5",
"pygame==2.1.0",
"pygame==2.1.3.dev8",
"hanabi_learning_environment==0.0.4",
],
"butterfly": ["pygame==2.1.0", "pymunk==6.2.0"],
"mpe": ["pygame==2.1.0"],
"sisl": ["pygame==2.1.0", "box2d-py==2.3.5", "scipy>=1.4.1"],
"butterfly": ["pygame==2.1.3.dev8", "pymunk==6.2.0"],
"mpe": ["pygame==2.1.3.dev8"],
"sisl": ["pygame==2.1.3.dev8", "box2d-py==2.3.5", "scipy>=1.4.1"],
"other": ["pillow>=8.0.1"],
"tests": [
"pynput",
Expand Down Expand Up @@ -80,7 +80,7 @@ def get_version():
long_description=long_description,
long_description_content_type="text/markdown",
keywords=["Reinforcement Learning", "game", "RL", "AI", "gymnasium"],
python_requires=">=3.7, <3.11",
python_requires=">=3.7, <3.12",
packages=["pettingzoo"]
+ ["pettingzoo." + pkg for pkg in find_packages("pettingzoo")],
include_package_data=True,
Expand All @@ -92,6 +92,7 @@ def get_version():
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
extras_require=extras,
)

0 comments on commit bbf00cc

Please sign in to comment.