Skip to content

Commit 2022aaa

Browse files
committed
fix windows and mac
1 parent dab1dcc commit 2022aaa

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/all-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ jobs:
8383
8484
- name: Install packages
8585
run: |
86+
# On macOS with Python 3.14, numcodecs wheels are only available for native arch (not universal2)
87+
# Force pip to use pre-built wheels to avoid build failures from source
88+
if [[ "${{ runner.os }}" == "macOS" && "${{ matrix.python-version }}" == "3.14" ]]; then
89+
pip install numcodecs --only-binary :all:
90+
fi
8691
pip install -e .[test_core]
8792
shell: bash
8893

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ classifiers = [
2121

2222
dependencies = [
2323
"numpy>=1.20;python_version<'3.13'",
24-
"numpy>=2.0.0;python_version>='3.13'",
24+
"numpy>=2.0.0;python_version>='3.13' and python_version<'3.14'",
25+
"numpy>=2.3.2;python_version>='3.14'",
2526
"threadpoolctl>=3.0.0",
2627
"tqdm",
2728
"zarr>=2.18,<3",
2829
"neo>=0.14.3",
2930
"probeinterface>=0.3.1",
3031
"packaging",
3132
"pydantic",
32-
"numcodecs",
33+
"numcodecs;python_version<'3.14'",
34+
"numcodecs>=0.16.5;python_version>='3.14'",
3335
]
3436

3537
[build-system]

0 commit comments

Comments
 (0)