Skip to content

Commit d30d1af

Browse files
msimacekppisl
authored andcommitted
Pin numpy 1 in torch 2 patch
1 parent a6ab7f1 commit d30d1af

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

graalpython/lib-graalpython/patches/torch/torch-2.2.1.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,19 @@ index 21f0a166..ab2497c5 100644
115115
return Slice<mpy::handle>((mpy::handle*)begin, (mpy::handle*) (begin + tv.size()));
116116
}
117117

118+
diff --git a/pyproject.toml b/pyproject.toml
119+
index ffbf640d..114051f9 100644
120+
--- a/pyproject.toml
121+
+++ b/pyproject.toml
122+
@@ -3,7 +3,7 @@ requires = [
123+
"setuptools",
124+
"wheel",
125+
"astunparse",
126+
- "numpy",
127+
+ "numpy<2",
128+
"ninja",
129+
"pyyaml",
130+
"cmake",
118131
diff --git a/test/test_overrides.py b/test/test_overrides.py
119132
index f9988197..cde6b114 100644
120133
--- a/test/test_overrides.py

0 commit comments

Comments
 (0)