From 634cccf6c0b3e476db02e432d25028881526ac72 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Mon, 23 Sep 2024 16:29:36 -0700 Subject: [PATCH] Update setup.py Co-authored-by: Michael Graeb --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index a14239bd1..c3f46adf1 100644 --- a/setup.py +++ b/setup.py @@ -404,6 +404,7 @@ def awscrt_ext(): extra_link_args += ['-Wl,--fatal-warnings'] if sys.version_info >= (3, 13): + # 3.13 deprecates PyWeakref_GetObject(), adds alternative define_macros.append(('Py_LIMITED_API', '0x030D0000')) py_limited_api = True elif sys.version_info >= (3, 11):