From ef654bf37f675befc5efe0201c5224cad9bf221a 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 +- CMakeLists.txt | 2 +- pyproject.toml | 8 +------- 3 files changed, 3 insertions(+), 9 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/CMakeLists.txt b/CMakeLists.txt index cc27945e..f005c4a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ set(Python_ARTIFACTS_INTERACTIVE TRUE) FetchContent_Declare( pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11.git - GIT_TAG 3e9dfa2866941655c56877882565e7577de6fc7b # v2.12.0 + GIT_TAG 941f45bcb51457884fa1afd6e24a67377d70f75c # v2.13.1 FIND_PACKAGE_ARGS NAMES pybind11) FetchContent_MakeAvailable(pybind11) 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]