mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
python3-pandas: Downgrade version check for numpy to 1.x
Helps it build with PEP-517 backend Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
|||||||
|
From d81d95274d84ac51fc02e0fa91affc7f3cbefccb Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sat, 24 Aug 2024 10:21:43 -0700
|
||||||
|
Subject: [PATCH] pyproject.toml: Downgrade numpy version needs to 1.x
|
||||||
|
|
||||||
|
Drop it when numpy is upgraded to 2.x or newer in core
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [OE workaround]
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
pyproject.toml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 5158d60..d3daa78 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -8,7 +8,7 @@ requires = [
|
||||||
|
"Cython>=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
|
||||||
|
# Force numpy higher than 2.0rc1, so that built wheels are compatible
|
||||||
|
# with both numpy 1 and 2
|
||||||
|
- "numpy>=2.0.0rc1",
|
||||||
|
+ "numpy>=1.24.0",
|
||||||
|
"versioneer[toml]"
|
||||||
|
]
|
||||||
|
|
||||||
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a"
|
|||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \
|
file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \
|
||||||
|
file://0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
|
SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
|
||||||
|
|||||||
Reference in New Issue
Block a user