Skip to content

Commit

Permalink
Add correct Pyodide version to identifier temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Sep 24, 2024
1 parent 735d5bb commit b8ac6c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cibuildwheel/pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ def build(options: Options, tmp_path: Path) -> None:
log.build_start(config.identifier)

# Include both the identifier and the Pyodide version in the temp directory name
identifier_tmp_dir = tmp_path / f"{config.identifier}_{config.pyodide_version}"
cibw_pyodide_version = os.environ.get("CIBW_PYODIDE_VERSION", config.pyodide_version)
identifier_tmp_dir = tmp_path / f"{config.identifier}_{cibw_pyodide_version}"

built_wheel_dir = identifier_tmp_dir / "built_wheel"
repaired_wheel_dir = identifier_tmp_dir / "repaired_wheel"
identifier_tmp_dir.mkdir()
Expand Down

0 comments on commit b8ac6c0

Please sign in to comment.