Skip to content

Commit

Permalink
ci: adapt to final release of NumPy 2.1.0 (#951)
Browse files Browse the repository at this point in the history
* ci: adapt to final release of NumPy 2.1.0

Signed-off-by: Henry Schreiner <[email protected]>

* Update pyproject.toml

---------

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Aug 22, 2024
1 parent e5d2f8d commit c940f6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,10 @@ 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 c940f6c

Please sign in to comment.