-
Notifications
You must be signed in to change notification settings - Fork 287
Description
Description
I am trying to debug a pyodide build of my library which I had working with tests in a test repo about 3 weeks ago, but am beginning to apply to my main project, however as of an hour ago, and without changing much I seem to get a regression where cibuildwheel is passing a "-v" flag to pyodide build causing a fatal build error (I could get far past this point yesterday/earlier this morning), I think my only major change was switching from manually calling cibuildwheel in my github action, using the latest version of cibuildwheel as I never pinned it in my pyproject.toml, to switching to 3.1.4
and the github action command.
example partial log:
Building cp312-pyodide_wasm32 wheel
CPython 3.12 Pyodide
Installing a base python environment...
β 3.20s
Setting up build environment...
β 2.50s
Installing build tools...
β 4.92s
Installing Emscripten version: 3.1.58 ...
β 31.44s
Installing Pyodide xbuildenv version: 0.27.7 ...
β 8.88s
Building wheel...
+ pyodide build /home/runner/work/SpiceyPy/SpiceyPy --outdir=/tmp/cibw-run-i6d6ci8v/cp312-pyodide_wasm32/built_wheel -v
ERROR: Unrecognized options in config-settings:
-v
ERROR Backend subprocess exited when trying to invoke build_wheel
β 2.68s
Error: cibuildwheel: Command ['/tmp/cibw-run-i6d6ci8v/cp312-pyodide_wasm32/build/venv/bin/pyodide', 'build', '/home/runner/work/SpiceyPy/SpiceyPy', '--outdir=/tmp/cibw-run-i6d6ci8v/cp312-pyodide_wasm32/built_wheel', '-v'] failed with code 1.
Error: Process completed with exit code 1.
I get the same issue building locally in a ubuntu vm.
I saw that 3.2.0 was recently published, so I am wondering if maybe there is some other build version mis match, plus I am specifying in my pyproject.toml to only build pyodide version 0.27.7, as that is the one jupyterlite uses (or used 3 weeks ago last I checked, using the main live deploy of jupyterlite is desirable for me).
Looking at some older logs, it looks like maybe this could be a regression from 3.1.3 to 3.1.4, where I don't see the -v flag being used in the first step. But also pyodide 0.30.5 is being used.
I've attached two logs, one where the build proceeds (although there is another issue with compilation I am debugging in it) and the failed one, so hoping to spot more differences there.
working_build_cibuildwheel_log.txt
failed_build_cibuildwheel_log.txt
Build log
No response