From d33c58b3370f2cf8e200a925e72c6781a4d5bdbc Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 4 Sep 2024 15:35:21 -0500 Subject: [PATCH] Attempt to disable system libmpdec on Windows --- cpython-windows/build.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpython-windows/build.py b/cpython-windows/build.py index f7a4ebd2..9195e071 100644 --- a/cpython-windows/build.py +++ b/cpython-windows/build.py @@ -1599,6 +1599,11 @@ def build_cpython( if not meets_python_minimum_version(python_version, "3.12"): args.append("--include-distutils") + # CPython 3.13+ no longer uses a bundled libmpdec by default + # TODO(zanieb): We should use the system libmpdec as we do for Unix builds + if meets_python_minimum_version(python_version, "3.13"): + args.append("--with-system-libmpdec=no") + args.extend(["--include-idle", "--include-stable", "--include-tcltk"]) exec_and_log(