Skip to content

Commit a443f76

Browse files
authored
Fix crash formatting error message (#4809)
Fix crash formatting error message
2 parents 5a6c436 + d92a595 commit a443f76

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: newsfragments/4809.bugfix.rst

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed crash generating error message printed when building wheels for the
2+
free-threaded build using the limited API. -- by :user:`ngoldbaum`

Diff for: setuptools/command/bdist_wheel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _validate_py_limited_api(self) -> None:
294294
raise ValueError(
295295
f"`py_limited_api={self.py_limited_api!r}` not supported. "
296296
"`Py_LIMITED_API` is currently incompatible with "
297-
f"`Py_GIL_DISABLED` ({sys.abiflags=!r}). "
297+
"`Py_GIL_DISABLED`."
298298
"See https://github.com/python/cpython/issues/111506."
299299
)
300300

0 commit comments

Comments
 (0)