Skip to content

Commit f2d2f8b

Browse files
committed
update pyodide-build version
1 parent a9ac259 commit f2d2f8b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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}'

0 commit comments

Comments
 (0)