Skip to content

Commit bbf00cc

Browse files
authored
support Python 3.11 (#872)
1 parent 36286d4 commit bbf00cc

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.github/workflows/build-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- os: ubuntu-latest
3131
python: 310
3232
platform: manylinux_x86_64
33+
- os: ubuntu-latest
34+
python: 311
35+
platform: manylinux_x86_64
3336

3437
steps:
3538
- uses: actions/checkout@v3

.github/workflows/linux-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
python-version: ['3.7', '3.8', '3.9', '3.10']
20+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2121
steps:
2222
- uses: actions/checkout@v3
2323
# - uses: openrndr/setup-opengl@v1.1

.github/workflows/linux-tutorials-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: ['3.7', '3.8', '3.9', '3.10']
21+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2222
tutorial: ['CleanRL', 'Tianshou', 'EnvironmentCreation']
2323
steps:
2424
- uses: actions/checkout@v3

pettingzoo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313

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

16-
__version__ = "1.22.2"
16+
__version__ = "1.22.3"

setup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ def get_version():
3131

3232

3333
extras = {
34-
"atari": ["multi_agent_ale_py==0.1.11", "pygame==2.1.0"],
34+
"atari": ["multi_agent_ale_py==0.1.11", "pygame==2.1.3.dev8"],
3535
"classic": [
3636
"chess==1.7.0",
3737
"rlcard==1.0.5",
38-
"pygame==2.1.0",
38+
"pygame==2.1.3.dev8",
3939
"hanabi_learning_environment==0.0.4",
4040
],
41-
"butterfly": ["pygame==2.1.0", "pymunk==6.2.0"],
42-
"mpe": ["pygame==2.1.0"],
43-
"sisl": ["pygame==2.1.0", "box2d-py==2.3.5", "scipy>=1.4.1"],
41+
"butterfly": ["pygame==2.1.3.dev8", "pymunk==6.2.0"],
42+
"mpe": ["pygame==2.1.3.dev8"],
43+
"sisl": ["pygame==2.1.3.dev8", "box2d-py==2.3.5", "scipy>=1.4.1"],
4444
"other": ["pillow>=8.0.1"],
4545
"tests": [
4646
"pynput",
@@ -80,7 +80,7 @@ def get_version():
8080
long_description=long_description,
8181
long_description_content_type="text/markdown",
8282
keywords=["Reinforcement Learning", "game", "RL", "AI", "gymnasium"],
83-
python_requires=">=3.7, <3.11",
83+
python_requires=">=3.7, <3.12",
8484
packages=["pettingzoo"]
8585
+ ["pettingzoo." + pkg for pkg in find_packages("pettingzoo")],
8686
include_package_data=True,
@@ -92,6 +92,7 @@ def get_version():
9292
"Programming Language :: Python :: 3.8",
9393
"Programming Language :: Python :: 3.9",
9494
"Programming Language :: Python :: 3.10",
95+
"Programming Language :: Python :: 3.11",
9596
],
9697
extras_require=extras,
9798
)

0 commit comments

Comments
 (0)