Skip to content

Commit 34e41e1

Browse files
committed
Do not use oldest-supported-numpy anymore
1 parent 72ecde3 commit 34e41e1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

requirements-build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ setuptools
22
scikit-build
33
cython>=3
44
cmake
5-
oldest-supported-numpy
5+
numpy>=2
66
ninja
77
build

tests/test_tensor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def test_pack_array2_struct(size, dtype):
6666
assert np.array_equal(nparray, a2)
6767

6868

69-
@pytest.mark.skipif(os.name == "nt", reason="Torch has issues with oldest-supported-numpy on Windows")
7069
@pytest.mark.parametrize(
7170
"size, dtype",
7271
[
@@ -188,7 +187,6 @@ def test_save_tensor_tensorflow(size, dtype, urlpath):
188187
assert np.array_equal(nparray, np.asarray(tensor2))
189188

190189

191-
@pytest.mark.skipif(os.name == "nt", reason="Torch has issues with oldest-supported-numpy on Windows")
192190
@pytest.mark.parametrize(
193191
"size, dtype, urlpath",
194192
[

0 commit comments

Comments
 (0)