diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch | 27 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch b/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch new file mode 100644 index 0000000000..b0ef8ce00c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From d81d95274d84ac51fc02e0fa91affc7f3cbefccb Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 24 Aug 2024 10:21:43 -0700 | ||
4 | Subject: [PATCH] pyproject.toml: Downgrade numpy version needs to 1.x | ||
5 | |||
6 | Drop it when numpy is upgraded to 2.x or newer in core | ||
7 | |||
8 | Upstream-Status: Inappropriate [OE workaround] | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | pyproject.toml | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/pyproject.toml b/pyproject.toml | ||
16 | index 5158d60..d3daa78 100644 | ||
17 | --- a/pyproject.toml | ||
18 | +++ b/pyproject.toml | ||
19 | @@ -8,7 +8,7 @@ requires = [ | ||
20 | "Cython>=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json | ||
21 | # Force numpy higher than 2.0rc1, so that built wheels are compatible | ||
22 | # with both numpy 1 and 2 | ||
23 | - "numpy>=2.0.0rc1", | ||
24 | + "numpy>=1.24.0", | ||
25 | "versioneer[toml]" | ||
26 | ] | ||
27 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb index ac8d469847..25b03c8e32 100644 --- a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb | |||
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" | |||
8 | 8 | ||
9 | SRC_URI += " \ | 9 | SRC_URI += " \ |
10 | file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \ | 10 | file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \ |
11 | file://0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" | 14 | SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" |