Skip to content

Commit c5b6f56

Browse files
committed
Bump min supported NumPy version to 1.26
1 parent 6723584 commit c5b6f56

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

conda-recipe/conda_build_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
numpy:
2-
- '1.25'
2+
- '1.26'
33
c_compiler: # [linux]
44
- gcc # [linux]
55
cxx_compiler: # [linux]

dpnp/tests/test_arraycreation.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -938,12 +938,9 @@ def test_logspace(dtype, num, endpoint):
938938
assert_allclose(dpnp_res, np_res, rtol=1e-06)
939939

940940

941+
@testing.with_requires("numpy>=1.25.0")
941942
@pytest.mark.parametrize("axis", [0, 1])
942943
def test_logspace_axis(axis):
943-
if numpy.lib.NumpyVersion(numpy.__version__) < "1.25.0":
944-
pytest.skip(
945-
"numpy.logspace supports a non-scalar base argument since 1.25.0"
946-
)
947944
func = lambda xp: xp.logspace(
948945
[2, 3], [20, 15], num=2, base=[[1, 3], [5, 7]], axis=axis
949946
)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires = [
88
"dpctl>=0.21.0",
99
"ninja>=1.11.1; platform_system!='Windows'",
1010
# NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule
11-
"numpy>=1.25.0",
11+
"numpy>=1.26.0",
1212
"scikit-build>=0.18.1",
1313
"setuptools>=79.0.1",
1414
"wheel>=0.45.1",
@@ -50,7 +50,7 @@ dependencies = [
5050
# "intel-cmplr-lib-rt>=0.59.0"
5151
# WARNING: use the latest dpctl dev version, otherwise stable w/f will fail
5252
"dpctl>=0.21.0",
53-
"numpy>=1.25.0"
53+
"numpy>=1.26.0"
5454
]
5555
description = "Data Parallel Extension for NumPy"
5656
dynamic = ["version"]

0 commit comments

Comments
 (0)