Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: adapt to final release of NumPy 2.1.0 #951

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:"] }
henryiii marked this conversation as resolved.
Show resolved Hide resolved
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
Loading