You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\hostedtoolcache\windows\Python\3.13.1\x64-freethreaded\Lib\site-packages\setuptools\command\bdist_wheel.py", line 297, in _validate_py_limited_api
f"`Py_GIL_DISABLED` ({sys.abiflags=!r}). "
^^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'abiflags'
The text was updated successfully, but these errors were encountered:
setuptools version
75.8.0
Python version
3.13t
OS
Windows
Additional environment information
No response
Description
sys.abiflags
is not defined on Windows, so this error message leads to a crash instead of a useful error there:setuptools/setuptools/command/bdist_wheel.py
Line 297 in fb7f3d3
Expected behavior
An error telling me to not set
Py_LIMITED_API
How to Reproduce
I think you can hit this doing
setup.py bdist_wheel
with a free-threaded Python on Windows. I hit it trying to build wheels for bcrypt.See this CI run: https://github.com/ngoldbaum/bcrypt/actions/runs/12818690186/job/35744737249#step:7:100
Output
The text was updated successfully, but these errors were encountered: