From fc7d15324fee2c8cb8c673e17d7ac220f4221331 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 19 Feb 2026 20:24:49 +0500 Subject: [PATCH] build-all - don't use main repo pyproject.toml for wasm builds --- nix/build-all.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/build-all.py b/nix/build-all.py index f34dcf6978..139e1dda2a 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1521,6 +1521,9 @@ if "IfcOpenShell-Python" in targets: ) # Copy setup.py where pyodide build system expects it. shutil.copy(REPO_PATH / "pyodide" / "setup.py", REPO_PATH) + # Empty pyproject so it's contents won't affect the resulting wheelthe the + # otherwise the wheel will use version and dependencies from toml, not setup.py. + (REPO_PATH / "pyproject.toml").write_text("") elif USE_CURRENT_PYTHON_VERSION: python_info = sysconfig.get_paths()