update error message for skipped arm64 tests

This commit is contained in:
Joe Rickerby
2024-02-02 12:28:40 +00:00
parent 3254807509
commit 9abb06c66d
+7 -8
View File
@@ -488,9 +488,8 @@ def build(options: Options, tmp_path: Path) -> None:
unwrap( unwrap(
""" """
While arm64 wheels can be built on x86_64, they cannot be While arm64 wheels can be built on x86_64, they cannot be
tested. The ability to test the arm64 wheels will be added in a tested. Consider building arm64 wheels natively, if your CI
future release of cibuildwheel, once Apple Silicon CI runners provider offers this. To silence this warning, set
are widely available. To silence this warning, set
`CIBW_TEST_SKIP: "*-macosx_arm64"`. `CIBW_TEST_SKIP: "*-macosx_arm64"`.
""" """
) )
@@ -500,11 +499,11 @@ def build(options: Options, tmp_path: Path) -> None:
unwrap( unwrap(
""" """
While universal2 wheels can be built on x86_64, the arm64 part While universal2 wheels can be built on x86_64, the arm64 part
of them cannot currently be tested. The ability to test the of the wheel cannot be tested on x86_64. Consider building
arm64 part of a universal2 wheel will be added in a future universal2 wheels on an arm64 runner, if your CI provider offers
release of cibuildwheel, once Apple Silicon CI runners are this. Notably, an arm64 runner can also test the x86_64 part of
widely available. To silence this warning, set the wheel, through Rosetta emulation. To silence this warning,
`CIBW_TEST_SKIP: "*-macosx_universal2:arm64"`. set `CIBW_TEST_SKIP: "*-macosx_universal2:arm64"`.
""" """
) )
) )