From 0bd3bf366d7a660ebd74776c76d976ccbc5d4725 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 12 Aug 2024 21:48:30 -0400 Subject: [PATCH] ci: use numpy 2.1.0rc1 Signed-off-by: Henry Schreiner --- .github/workflows/tests.yml | 2 +- pyproject.toml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 49e8c64b..6c9c0881 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -87,7 +87,7 @@ jobs: - name: Install NumPy pre-release if: matrix.python-version == '3.13' - run: uv pip install --system numpy --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --prerelease=allow + 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 diff --git a/pyproject.toml b/pyproject.toml index 99ea059d..527d2ada 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -164,12 +164,6 @@ ignore_missing_imports = true build-frontend = "build[uv]" test-extras = "test" test-command = "pytest --benchmark-disable {project}/tests" -test-skip = [ - "pp310-*", - "*universal2:arm64", - "cp*-*musllinux*", # segfault - "cp313*linux_aarch64", # No NumPy available yet -] skip = [ "pp37-*", "pp38-*", @@ -187,7 +181,7 @@ build-frontend = {name = "build", args = ["--exports", "whole_archive"]} [[tool.cibuildwheel.overrides]] select = "cp313*" inherit.environment = "append" -before-test = "uv pip install --index-url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --prerelease=allow numpy" +before-test = "uv pip install numpy>=2.1" [tool.pylint]