Skip to content

Commit ce5ce47

Browse files
committed
Bump min supported NumPy version to 1.26
1 parent b58325e commit ce5ce47

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
@@ -9,7 +9,7 @@ requires = [
99
"dpctl>=0.19.0",
1010
"ninja>=1.11.1; platform_system!='Windows'",
1111
# NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule
12-
"numpy>=1.25.0",
12+
"numpy>=1.26.0",
1313
"scikit-build>=0.18.1",
1414
"setuptools>=79.0.1",
1515
"wheel>=0.45.1",
@@ -51,7 +51,7 @@ dependencies = [
5151
# "intel-cmplr-lib-rt>=0.59.0"
5252
# WARNING: use the latest dpctl dev version, otherwise stable w/f will fail
5353
"dpctl>=0.21.0dev0",
54-
"numpy>=1.25.0"
54+
"numpy>=1.26.0"
5555
]
5656
description = "Data Parallel Extension for NumPy"
5757
dynamic = ["version"]

0 commit comments

Comments
 (0)