wheel icon indicating copy to clipboard operation
wheel copied to clipboard

assert on hardcoded tags list is unsuitable for experimental cross compilation environnements

Open pmp-p opened this issue 1 year ago • 1 comments

This break hpy wasm build for me : https://github.com/pypa/wheel/blob/fa33dfd01fd665c1fd90097563b34bce4b5527ef/src/wheel/bdist_wheel.py#L354

Those are NOT expected to be officially supported anyway

cp313-cp313t-emscripten_3_1_57_wasm32
cp313-none-emscripten_3_1_57_wasm32
py313-none-emscripten_3_1_57_wasm32

"emscripten_3_1_57" never represented an abi anyway see https://github.com/python/cpython/issues/96426#issuecomment-1271144421

pmp-p avatar Mar 26 '24 05:03 pmp-p

Quick workaround if you need it - since it's an "assert", you could disable assertions by running Python in optimized mode (-O or PYTHONOPTIMIZE=TRUE).

henryiii avatar Mar 26 '24 06:03 henryiii