diff --git a/cibuildwheel/resources/build-platforms.toml b/cibuildwheel/resources/build-platforms.toml index e239ef07..cf253d9e 100644 --- a/cibuildwheel/resources/build-platforms.toml +++ b/cibuildwheel/resources/build-platforms.toml @@ -44,5 +44,5 @@ python_configurations = [ { identifier = "cp38-win_amd64", version = "3.8.10", arch = "64" }, { identifier = "cp39-win32", version = "3.9.5", arch = "32" }, { identifier = "cp39-win_amd64", version = "3.9.5", arch = "64" }, - { identifier = "pp37-win_amd64", version = "3.7", arch = "32", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.4rc2-win64.zip" }, + { identifier = "pp37-win_amd64", version = "3.7", arch = "64", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.4rc2-win64.zip" }, ] diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 04884289..73691d8f 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -95,7 +95,7 @@ def install_cpython(version: str, arch: str, nuget: Path) -> Path: def install_pypy(version: str, arch: str, url: str) -> Path: - assert arch == "32" + assert arch == '64' and 'win64' in url # Inside the PyPy zip file is a directory with the same name zip_filename = url.rsplit("/", 1)[-1] extension = ".zip"