Skip to content

Commit

Permalink
ci: use numpy 2.1.0rc1
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Aug 13, 2024
1 parent 6fafe05 commit ef654bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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-*",
Expand All @@ -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]
Expand Down

0 comments on commit ef654bf

Please sign in to comment.