Skip to content

Commit

Permalink
Fix crash formatting error message (#4809)
Browse files Browse the repository at this point in the history
Fix crash formatting error message
  • Loading branch information
abravalheri authored Jan 20, 2025
2 parents 5a6c436 + d92a595 commit a443f76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions newsfragments/4809.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed crash generating error message printed when building wheels for the
free-threaded build using the limited API. -- by :user:`ngoldbaum`
2 changes: 1 addition & 1 deletion setuptools/command/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _validate_py_limited_api(self) -> None:
raise ValueError(
f"`py_limited_api={self.py_limited_api!r}` not supported. "
"`Py_LIMITED_API` is currently incompatible with "
f"`Py_GIL_DISABLED` ({sys.abiflags=!r}). "
"`Py_GIL_DISABLED`."
"See https://github.com/python/cpython/issues/111506."
)

Expand Down

0 comments on commit a443f76

Please sign in to comment.