summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch b/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch
new file mode 100644
index 0000000000..cd3e462ddf
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch
@@ -0,0 +1,26 @@
1From 7222a8b9b6e05b89116ca14644aa8db79eecd3c6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 24 Aug 2024 00:19:23 -0700
4Subject: [PATCH] downgrade numpy version to 1.26.4+
5
6We can drop it when OE-core upgrades numpy to 2.x
7
8Upstream-Status: Inappropriate [OE workaround]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 pyproject.toml | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/pyproject.toml b/pyproject.toml
15index 1bfbd91..cbee520 100644
16--- a/pyproject.toml
17+++ b/pyproject.toml
18@@ -1,7 +1,7 @@
19 [build-system]
20 requires = [
21 "cython>=0.27.3",
22- "numpy>=2.0.0rc1",
23+ "numpy>=1.26.4",
24 "setuptools>=43.0.0",
25 "wheel",
26 ]