Skip to content

Commit

Permalink
Update setuptools/command/bdist_wheel.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anderson Bravalheri <[email protected]>
  • Loading branch information
ngoldbaum and abravalheri committed Jan 20, 2025
1 parent f049c9a commit 3bde6ef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions setuptools/command/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,6 @@ def _validate_py_limited_api(self) -> None:
raise ValueError(f"py-limited-api must match '{PY_LIMITED_API_PATTERN}'")

if sysconfig.get_config_var("Py_GIL_DISABLED"):
# sys.abiflags is only defined on POSIX
if hasattr(sys, "abiflags"):
abinote = f" ({sys.abiflags=!r}). "
else:
abinote = ". "
raise ValueError(
f"`py_limited_api={self.py_limited_api!r}` not supported. "
"`Py_LIMITED_API` is currently incompatible with "
Expand Down

0 comments on commit 3bde6ef

Please sign in to comment.