From bae94138132ec18f622ee15ba4ad10f0a69cfe03 Mon Sep 17 00:00:00 2001 From: BBBmau Date: Wed, 22 May 2024 23:24:50 -0700 Subject: [PATCH] support Python 3.12 --- setup.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index da5e82984..47c8bf93e 100644 --- a/setup.py +++ b/setup.py @@ -26,8 +26,8 @@ def is_win(): return sys.platform == "win32" -assert sys.version_info.major == 3 and sys.version_info.minor >= 6 and sys.version_info.minor < 12, \ - "python version >= 3.6, <3.12 is required" +assert sys.version_info.major == 3 and sys.version_info.minor >= 6 and sys.version_info.minor < 13, \ + "python version >= 3.6, <3.13 is required" this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: @@ -48,8 +48,7 @@ def is_win(): "seaborn", "tqdm", "progressbar", - # "panda3d==1.10.8", - "panda3d==1.10.13", + "panda3d==1.10.14", "panda3d-gltf==0.13", # 0.14 will bring some problems "pillow", "pytest", @@ -82,7 +81,7 @@ def is_win(): setup( name="metadrive-simulator", - python_requires='>=3.6, <3.12', # do version check with assert + python_requires='>=3.6, <3.13', # do version check with assert version=VERSION, description="An open-ended driving simulator with infinite scenes", url="https://github.com/metadriverse/metadrive",