Skip to content

Commit 3bde6ef

Browse files
Update setuptools/command/bdist_wheel.py
Co-authored-by: Anderson Bravalheri <[email protected]>
1 parent f049c9a commit 3bde6ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

setuptools/command/bdist_wheel.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,6 @@ def _validate_py_limited_api(self) -> None:
291291
raise ValueError(f"py-limited-api must match '{PY_LIMITED_API_PATTERN}'")
292292

293293
if sysconfig.get_config_var("Py_GIL_DISABLED"):
294-
# sys.abiflags is only defined on POSIX
295-
if hasattr(sys, "abiflags"):
296-
abinote = f" ({sys.abiflags=!r}). "
297-
else:
298-
abinote = ". "
299294
raise ValueError(
300295
f"`py_limited_api={self.py_limited_api!r}` not supported. "
301296
"`Py_LIMITED_API` is currently incompatible with "

0 commit comments

Comments
 (0)