From 80de4fc351c2ad82e7d42206c038de0bd4ee85e9 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Mon, 23 Sep 2024 16:29:56 -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 7ebd2dc12..50393a8b6 100644 --- a/setup.py +++ b/setup.py @@ -409,6 +409,7 @@ def awscrt_ext(): define_macros.append(('Py_LIMITED_API', '0x030D0000')) py_limited_api = True elif sys.version_info >= (3, 11): + # 3.11 is the first stable ABI that has everything we need define_macros.append(('Py_LIMITED_API', '0x030B0000')) py_limited_api = True