Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Graeb <[email protected]>
  • Loading branch information
waahm7 and graebm authored Sep 23, 2024
1 parent 634cccf commit fdf644c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ def awscrt_ext():
else:
extra_link_args += ['-Wl,--fatal-warnings']

# prefer building with stable ABI, so a wheel can work with multiple major versions
if sys.version_info >= (3, 13):
# 3.13 deprecates PyWeakref_GetObject(), adds alternative
define_macros.append(('Py_LIMITED_API', '0x030D0000'))
Expand Down

0 comments on commit fdf644c

Please sign in to comment.