From 308457300ee7a4134b62d7b5cbb98c0968533e5d Mon Sep 17 00:00:00 2001 From: ay-ex <127405908+ay-ex@users.noreply.github.com> Date: Fri, 15 Dec 2023 07:29:24 +0000 Subject: [PATCH] fix cmake regex for used blender python version --- choco/blenderbim/check_repo_infos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/choco/blenderbim/check_repo_infos.py b/choco/blenderbim/check_repo_infos.py index 0c8eaa8fdc..b9e75636bb 100644 --- a/choco/blenderbim/check_repo_infos.py +++ b/choco/blenderbim/check_repo_infos.py @@ -29,7 +29,7 @@ URL_CHOCO_PACKAGE = "https://community.chocolatey.org/packages/blender" URL_BLENDER_CMAKE = "https://raw.githubusercontent.com/blender/blender/{}/build_files/cmake/Modules/FindPythonLibsUnix.cmake" RE_BLENDER_VERSION_MIN_MAJ = r"Latest Version.+Blender (\d+\.\d+)\..+" RE_BLENDER_VERSION_MIN_MAJ_PAT = r"Latest Version.+Blender (\d+\.\d+\.\d+)" -RE_BLENDER_PYTHON_VERSION_MAJ_MIN = r"SET\(_PYTHON_VERSION_SUPPORTED (\d+\.\d+)\)" +RE_BLENDER_PYTHON_VERSION_MAJ_MIN = r"[set|SET]\(_PYTHON_VERSION_SUPPORTED (\d+\.\d+)\)" if sys.argv[1] == "--do_choco_release?":