Skip to content

Commit 566399b

Browse files
committed
Don't test numpy < 2 on windows 3.13
1 parent dbd9a11 commit 566399b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ jobs:
5353
uv run --no-sync pytest tests
5454
5555
- name: Run tests (numpy < 2)
56+
# No wheel for numpy < 2 on Windows and Python 3.13
57+
if: ${{ !(matrix.os == 'windows-latest' && matrix.python == '3.13' )}}
5658
working-directory: ./python
5759
run: |
5860
uv pip install setuptools
5961
uv pip install "numpy<2"
6062
uv run --no-sync pytest tests
63+

python/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ classifiers = [
2525
]
2626
keywords = ["binary store", "numerical", "arrays"]
2727
dependencies = [
28-
"numpy>=1.23.5",
28+
"numpy>=1.23.5; python_version < '3.13'",
29+
"numpy>=2; python_version >= '3.13'",
2930
"humanize",
3031
]
3132
requires-python = ">=3.10"

0 commit comments

Comments
 (0)