Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Python 3.11 #872

Merged
merged 5 commits into from
Dec 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
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,
)