File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ def build_pyodide_wheel(pyodide_build_version=None):
474474 #
475475 env_extra ['PYMUPDF_SETUP_MUPDF_TESSERACT' ] = '0'
476476 setup = pyodide_setup (pymupdf_dir , pyodide_build_version = pyodide_build_version )
477- command = f'{ setup } && pyodide build --exports pyinit '
477+ command = f'{ setup } && pyodide build --exports whole_archive '
478478 run (command , env_extra = env_extra )
479479
480480 # Copy wheel into `wheelhouse/` so it is picked up as a workflow
@@ -536,12 +536,12 @@ def pyodide_setup(
536536 a , b = sys .version_info [:2 ]
537537 venv_pyodide = f'venv_pyodide_{ a } .{ b } '
538538 else :
539- pyodide_build_version = '0.23.4 '
540- venv_pyodide = 'venv_pyodide_3.11 '
539+ pyodide_build_version = '0.29.3 '
540+ venv_pyodide = 'venv_pyodide_3.12 '
541541 python = sys .executable
542- if sys .version_info [:2 ] != (3 , 11 ):
543- log (f'Forcing use of python-3.11 because { sys .version = } is not 3.11 .' )
544- python = 'python3.11 '
542+ if sys .version_info [:2 ] != (3 , 12 ):
543+ log (f'Forcing use of python-3.12 because { sys .version = } is not 3.12 .' )
544+ python = 'python3.12 '
545545 if not os .path .exists ( f'{ directory } /{ venv_pyodide } ' ):
546546 command += f' && echo "### creating venv { venv_pyodide } "'
547547 command += f' && { python } -m venv { venv_pyodide } '
You can’t perform that action at this time.
0 commit comments