Merge remote-tracking branch 'upstream/main' into arm64
This commit is contained in:
@@ -108,7 +108,8 @@ def test_pinned_versions(tmp_path, python_version, build_frontend_env):
|
||||
w for w in utils.expected_wheels("spam", "0.1.0") if "-cp39" in w or "-pp39" in w
|
||||
]
|
||||
else:
|
||||
raise ValueError("unhandled python version")
|
||||
msg = "unhandled python version"
|
||||
raise ValueError(msg)
|
||||
|
||||
assert set(actual_wheels) == set(expected_wheels)
|
||||
|
||||
|
||||
+4
-2
@@ -23,7 +23,8 @@ elif sys.platform.startswith("darwin"):
|
||||
elif sys.platform in ["win32", "cygwin"]:
|
||||
platform = "windows"
|
||||
else:
|
||||
raise Exception("Unsupported platform")
|
||||
msg = f"Unsupported platform {sys.platform!r}"
|
||||
raise Exception(msg)
|
||||
|
||||
|
||||
def cibuildwheel_get_build_identifiers(project_path, env=None, *, prerelease_pythons=False):
|
||||
@@ -210,7 +211,8 @@ def expected_wheels(
|
||||
)
|
||||
|
||||
else:
|
||||
raise Exception("unsupported platform")
|
||||
msg = f"Unsupported platform {platform!r}"
|
||||
raise Exception(msg)
|
||||
|
||||
for platform_tag in platform_tags:
|
||||
wheels.append(f"{package_name}-{package_version}-{python_abi_tag}-{platform_tag}.whl")
|
||||
|
||||
Reference in New Issue
Block a user