From c9218305c7e43a5cbf93d2bddd5afb1c7e233ff6 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Mon, 17 Jun 2024 10:45:14 -0700 Subject: [PATCH] Python3.12 (#3) * support Python 3.12 * initial release setup * release-0.2.0 * update asset_url * release-0.3.0 * type * clean * format * version <4 --------- Co-authored-by: BBBmau Co-authored-by: Mauricio Alvarez Leon <65101411+BBBmau@users.noreply.github.com> --- setup.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index da5e82984..ffe615b36 100644 --- a/setup.py +++ b/setup.py @@ -26,8 +26,7 @@ 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 (3,6) <= sys.version_info < (4,), "python version >= 3.6, <4 is required" this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: @@ -48,8 +47,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 +80,7 @@ def is_win(): setup( name="metadrive-simulator", - python_requires='>=3.6, <3.12', # do version check with assert + python_requires='>=3.6, <4', # do version check with assert version=VERSION, description="An open-ended driving simulator with infinite scenes", url="https://github.com/metadriverse/metadrive",