Skip to content

Commit 861241d

Browse files
config-i1claude
andcommitted
CI: skip cp314 macOS Intel wheels (nlopt has no cp314 macosx_x86_64 wheel)
The wheel itself builds fine. The failure is in cibuildwheel's post- build test step, where pip refuses to install the freshly-built greybox wheel into a cp314-macosx_x86_64 venv because nlopt>=2.7.0 has no compatible wheel there (PyPI only offers nlopt 2.4.x / 2.6.2 for that platform-Python combination). Skipping cp314-macosx_x86_64 is preferable to shipping a wheel users can't install. cp314 macOS arm64 (Apple Silicon — where most macOS Python users now run) is unaffected; nlopt has cp314 wheels for that arch. Re-enable cp314 macOS Intel when upstream nlopt catches up. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d550e75 commit 861241d

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

python/pyproject.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,17 @@ python_functions = ["test_*"]
7575
# focused on common targets.
7676
build = "cp311-* cp312-* cp313-* cp314-*"
7777
skip = [
78-
"*-musllinux_*", # Alpine wheels — skip until there's demand
79-
"*_i686", # 32-bit Linux
80-
"*-win32", # 32-bit Windows
78+
"*-musllinux_*", # Alpine wheels — skip until there's demand
79+
"*_i686", # 32-bit Linux
80+
"*-win32", # 32-bit Windows
81+
# ``nlopt`` (a runtime dep) does not yet ship cp314 wheels for macOS
82+
# Intel on PyPI — only 2.4.x / 2.6.2 are visible to cp314-macosx_x86_64,
83+
# so the post-build test "pip install greybox-1.0.4-cp314-...whl" fails
84+
# with "No matching distribution found for nlopt>=2.7.0". The wheel
85+
# itself builds fine; users just couldn't install it. Drop until
86+
# upstream nlopt publishes a cp314 macOS Intel wheel. cp314 macOS
87+
# arm64 (Apple Silicon) is unaffected — nlopt ships wheels for it.
88+
"cp314-macosx_x86_64",
8189
]
8290
build-verbosity = 1
8391

0 commit comments

Comments
 (0)