Skip to content

Commit 61ad766

Browse files
committed
Test NumPy 1 separately
1 parent ef56629 commit 61ad766

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/build-numpy-2.yml renamed to .github/workflows/build-numpy-1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build NumPy 2
1+
name: Build NumPy 1
22

33
on:
44
push:
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install -r requirements-numpy2.txt -r requirements-numpy2-dev.txt
25+
pip install -r requirements-numpy1.txt -r requirements-numpy1-dev.txt
2626
# - name: Run pre-commit
2727
# uses: pre-commit/[email protected]
2828
- name: Test with pytest and coverage

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ scikit-learn
1212
partd
1313
bed-reader
1414
rechunker
15-
cbgen < 1.0.5
15+
cbgen > 1.0.5
1616
bio2zarr @ git+https://github.com/sgkit-dev/bio2zarr.git; platform_system != "Windows"
1717
yarl
1818
matplotlib

requirements-numpy2-dev.txt renamed to requirements-numpy1-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ scikit-learn
1212
partd
1313
bed-reader
1414
rechunker
15-
cbgen > 1.0.5
15+
cbgen < 1.0.5
1616
bio2zarr @ git+https://github.com/sgkit-dev/bio2zarr.git; platform_system != "Windows"
1717
yarl
1818
matplotlib

requirements-numpy2.txt renamed to requirements-numpy1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy < 2.2
1+
numpy < 2
22
xarray < 2025.03.1
33
dask[array,dataframe] >= 2023.01.0, <= 2024.8.0
44
distributed >= 2023.01.0, <= 2024.8.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy < 2
1+
numpy < 2.2
22
xarray < 2025.03.1
33
dask[array,dataframe] >= 2023.01.0, <= 2024.8.0
44
distributed >= 2023.01.0, <= 2024.8.0

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.htm
2727
include_package_data = True
2828
python_requires = >=3.10
2929
install_requires =
30-
numpy < 2
30+
numpy < 2.2
3131
xarray < 2025.03.1
3232
dask[array,dataframe] >= 2022.01.0, <= 2024.8.0
3333
distributed >= 2022.01.0, <= 2024.8.0
@@ -60,7 +60,7 @@ plink =
6060
bed-reader
6161
bgen =
6262
rechunker
63-
cbgen < 1.0.5
63+
cbgen > 1.0.5
6464

6565
[coverage:report]
6666
fail_under = 100

0 commit comments

Comments
 (0)