Skip to content

Commit

Permalink
add comments in this function as well
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 1, 2024
1 parent ecba0e2 commit 54d4b9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,10 @@ def get_tag(self):
python, abi, plat = super().get_tag()
# on CPython, our wheels are abi3 and compatible back to 3.11
if python.startswith("cp") and sys.version_info >= (3, 13):
# 3.13 deprecates PyWeakref_GetObject(), adds alternative
return "cp313", "abi3", plat
elif python.startswith("cp") and sys.version_info >= (3, 11):
# 3.11 is the first stable ABI that has everything we need
return "cp311", "abi3", plat

return python, abi, plat
Expand Down

0 comments on commit 54d4b9d

Please sign in to comment.