Skip to content

Commit

Permalink
ci: adapt to final release of NumPy 2.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Aug 19, 2024
1 parent e5d2f8d commit 79c3dc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ jobs:
key: ${{ matrix.python-version }}
create-symlink: true

- name: Install NumPy pre-release
if: matrix.python-version == '3.13'
run: uv pip install --system "numpy>=2.1.0rc1"

- name: Install python tools
run: uv pip install --system -r dev-requirements.txt pytest-github-actions-annotate-failures
env:
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,15 @@ ignore_missing_imports = true


[tool.cibuildwheel]
build-frontend = "build[uv]"
build-frontend = { name = "build[uv]", args = ["--only-binary=:all:"] }
test-extras = "test"
test-command = "pytest --benchmark-disable {project}/tests"
skip = [
"pp3[78]-*",
"cp313t-*win*"
]
test-skip = [
"cp*-musllinux_*", # Segfaults
"pp310-macosx_arm64", # No binary (numpy 2.1.0 rc 1)
"cp313t-*win*",
]
free-threaded-support = true
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
Expand All @@ -183,8 +182,8 @@ inherit.environment = "append"
build-frontend = {name = "build", args = ["--exports", "whole_archive"]}

[[tool.cibuildwheel.overrides]]
select = ["cp313*", "pp310*"]
before-test = 'uv pip install --only-binary=:all: "numpy>=2.1.0rc1"'
select = "pp310-macosx_arm64"
environment.MACOSX_DEPLOYMENT_TARGET = "14.0"


[tool.pylint]
Expand Down

0 comments on commit 79c3dc4

Please sign in to comment.