summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2026-01-26 13:23:18 +0200
committerKhem Raj <raj.khem@gmail.com>2026-01-30 23:59:04 -0800
commit48dd13d3748a8a931a863d63e1b93f49e6d0ceed (patch)
tree6f860e6398fbad6a1e5173bec046dc202dfdd7c0 /meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb
parent9769266642e3f03348955db24516ed6b216b0a1e (diff)
downloadmeta-openembedded-48dd13d3748a8a931a863d63e1b93f49e6d0ceed.tar.gz
python3-pandas: Upgrade 2.2.3 -> 3.0.0
Upgrade to release 3.0.0: - Dedicated string data type by default - Consistent copy/view behaviour with Copy-on-Write (CoW) (a.k.a. getting rid of the SettingWithCopyWarning) - New default resolution for datetime-like data - Initial support for the new pd.col syntax License-Update: Update license year to 2026 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb b/meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb
new file mode 100644
index 0000000000..01f57b9aa9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb
@@ -0,0 +1,48 @@
1SUMMARY = "pandas library for high-performance data analysis tools"
2DESCRIPTION = "pandas is an open source, BSD-licensed library providing \
3high-performance, easy-to-use data structures and data analysis tools for \
4the Python programming language."
5HOMEPAGE = "https://pandas.pydata.org/"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d"
8
9SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch "
10
11SRC_URI[sha256sum] = "0facf7e87d38f721f0af46fe70d97373a37701b1c09f7ed7aeeb292ade5c050f"
12
13CVE_PRODUCT = "pandas"
14
15inherit pkgconfig pypi python_mesonpy cython
16
17DEPENDS += " \
18 python3-numpy \
19 python3-versioneer-native \
20"
21
22CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
23
24RDEPENDS:${PN} += " \
25 python3-json \
26 python3-numpy \
27 python3-dateutil \
28 python3-dateutil-zoneinfo \
29 python3-pytz \
30 python3-profile \
31"
32
33PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:"
34export PYTHONPATH
35
36do_compile:append() {
37 # Fix absolute paths in generated files
38 find ${B} -name "*.c" -o -name "*.cpp" | xargs -r \
39 sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g'
40}
41
42do_install:prepend() {
43 sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-*/pandas/_libs/sparse.pyx.c
44}
45
46EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "
47
48BBCLASSEXTEND = "native"