File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 123123 `pyodide build`. This runs our setup.py with CC etc set up
124124 to create Pyodide binaries in a wheel called, for example,
125125 `PyMuPDF-1.23.2-cp311-none-emscripten_3_1_32_wasm32.whl`.
126+
127+ It seems that sys.version must match the Python version inside emsdk;
128+ as of 2025-02-14 this is 3.12. Otherwise we get build errors such as:
129+ [wasm-validator error in function 723] unexpected false: all used features should be allowed, on ...
130+
126131
127132Environment:
128133 PYMUDF_SCRIPTS_TEST_options
@@ -159,6 +164,9 @@ def main(argv):
159164 if len (argv ) == 1 :
160165 show_help ()
161166 return
167+
168+ log (f'{ sys .executable = } ' )
169+ log (f'{ sys .version = } ' )
162170
163171 build_isolation = None
164172 valgrind = False
You can’t perform that action at this time.
0 commit comments