summaryrefslogtreecommitdiffstats
path: root/python-numpy
diff options
context:
space:
mode:
Diffstat (limited to 'python-numpy')
-rw-r--r--python-numpy/build/patches/numpy-1.2x_python310.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/python-numpy/build/patches/numpy-1.2x_python310.patch b/python-numpy/build/patches/numpy-1.2x_python310.patch
new file mode 100644
index 00000000..17c8fa75
--- /dev/null
+++ b/python-numpy/build/patches/numpy-1.2x_python310.patch
@@ -0,0 +1,13 @@
+--- numpy-1.21.3/setup.py.orig 2021-10-20 00:17:30.277592000 +0200
++++ numpy-1.21.3/setup.py 2021-10-21 13:54:50.722540527 +0200
+@@ -30,7 +30,9 @@
+
+ # Python supported version checks. Keep right after stdlib imports to ensure we
+ # get a sensible error for older Python versions
+-if sys.version_info[:2] < (3, 7):
++if sys.version_info[0] < 3:
++ raise RuntimeError("Python version >= 3 required.")
++if sys.version_info[1] < 7:
+ raise RuntimeError("Python version >= 3.7 required.")
+
+