diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 44bafc55..ca8fa363 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -349,6 +349,7 @@ def build_in_container( build_options.test_command, project=container_project_path, package=container_package_dir, + wheel=wheel_to_test, ) test_cwd = testing_temp_dir / "test_cwd" container.call(["mkdir", "-p", test_cwd]) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 1c103629..5401e381 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -599,6 +599,7 @@ def build(options: Options, tmp_path: Path) -> None: build_options.test_command, project=Path(".").resolve(), package=build_options.package_dir.resolve(), + wheel=repaired_wheel, ) test_cwd = identifier_tmp_dir / "test_cwd" diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index d3e58786..c291d96d 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -552,6 +552,7 @@ def build(options: Options, tmp_path: Path) -> None: build_options.test_command, project=Path(".").resolve(), package=options.globals.package_dir.resolve(), + wheel=repaired_wheel, ) test_cwd = identifier_tmp_dir / "test_cwd" test_cwd.mkdir()