Skip to content

Commit 4f55f31

Browse files
committed
ci: extra index url
Signed-off-by: Henry Schreiner <[email protected]> style: pre-commit fixes
1 parent f93018f commit 4f55f31

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ jobs:
122122

123123
- uses: astral-sh/setup-uv@v6
124124

125+
- run: brew upgrade cmake
126+
125127
- uses: pypa/[email protected]
126128
env:
127129
CIBW_PLATFORM: ios

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ repos:
8282
hooks:
8383
- id: check-readthedocs
8484
- id: check-github-workflows
85-
8685
# TMP: waiting for cibuildwheel 3.0
8786
# - repo: https://github.com/henryiii/validate-pyproject-schema-store
8887
# rev: 2025.04.28

pyproject.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["scikit-build-core>=0.11", "pybind11==3.0.0b2"]
2+
requires = ["scikit-build-core>=0.11", "pybind11==3.0.0rc2"]
33
build-backend = "scikit_build_core.build"
44

55
[project]
@@ -175,15 +175,7 @@ build-frontend = "build[uv]"
175175
test-groups = ["test"]
176176
test-command = "python -m pytest -n auto --benchmark-disable tests"
177177
test-sources = ["pyproject.toml", "tests"]
178-
skip = [
179-
"pp38-*",
180-
]
181-
test-skip = [
182-
"cp*-musllinux_*", # Segfaults
183-
"cp313t-win*",
184-
"pp311-*", # no numpy wheels
185-
"cp*-win_arm64", # no numpy wheels
186-
]
178+
test-skip = ["cp3{9,10}-win_arm64", "cp3{9,10}-musllinux_*"]
187179
enable = ["cpython-freethreading", "pypy", "cpython-prerelease", "graalpy"]
188180
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
189181
environment.PIP_ONLY_BINARY = "numpy"
@@ -195,12 +187,22 @@ test-command = "pytest --benchmark-disable {project}/tests"
195187

196188
[tool.cibuildwheel.ios]
197189
build-frontend = "build"
190+
xbuild-tools = ["cmake", "ninja"]
198191

199192
[[tool.cibuildwheel.overrides]]
200193
select = "pp310-macosx_arm64"
201194
inherit.environment = "append"
202195
environment.MACOSX_DEPLOYMENT_TARGET = "14.0"
203196

197+
[[tool.cibuildwheel.overrides]]
198+
select = ["cp314*", "pp311*", "cp*-musllinux_*"]
199+
build-frontend = "build"
200+
environment.PIP_EXTRA_INDEX_URL = "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
201+
202+
[[tool.cibuildwheel.overrides]]
203+
select = ["*graalpy*"]
204+
build-frontend = "build"
205+
environment.PIP_EXTRA_INDEX_URL = "https://www.graalvm.org/python/wheels/simple"
204206

205207
[tool.pylint]
206208
py-version = "3.9"

0 commit comments

Comments
 (0)