diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-01-26 13:23:18 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-30 23:59:04 -0800 |
| commit | 48dd13d3748a8a931a863d63e1b93f49e6d0ceed (patch) | |
| tree | 6f860e6398fbad6a1e5173bec046dc202dfdd7c0 /meta-python/recipes-devtools/python/python3-pandas_3.0.0.bb | |
| parent | 9769266642e3f03348955db24516ed6b216b0a1e (diff) | |
| download | meta-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.bb | 48 |
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 @@ | |||
| 1 | SUMMARY = "pandas library for high-performance data analysis tools" | ||
| 2 | DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ | ||
| 3 | high-performance, easy-to-use data structures and data analysis tools for \ | ||
| 4 | the Python programming language." | ||
| 5 | HOMEPAGE = "https://pandas.pydata.org/" | ||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d" | ||
| 8 | |||
| 9 | SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch " | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "0facf7e87d38f721f0af46fe70d97373a37701b1c09f7ed7aeeb292ade5c050f" | ||
| 12 | |||
| 13 | CVE_PRODUCT = "pandas" | ||
| 14 | |||
| 15 | inherit pkgconfig pypi python_mesonpy cython | ||
| 16 | |||
| 17 | DEPENDS += " \ | ||
| 18 | python3-numpy \ | ||
| 19 | python3-versioneer-native \ | ||
| 20 | " | ||
| 21 | |||
| 22 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | ||
| 23 | |||
| 24 | RDEPENDS:${PN} += " \ | ||
| 25 | python3-json \ | ||
| 26 | python3-numpy \ | ||
| 27 | python3-dateutil \ | ||
| 28 | python3-dateutil-zoneinfo \ | ||
| 29 | python3-pytz \ | ||
| 30 | python3-profile \ | ||
| 31 | " | ||
| 32 | |||
| 33 | PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:" | ||
| 34 | export PYTHONPATH | ||
| 35 | |||
| 36 | do_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 | |||
| 42 | do_install:prepend() { | ||
| 43 | sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-*/pandas/_libs/sparse.pyx.c | ||
| 44 | } | ||
| 45 | |||
| 46 | EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include " | ||
| 47 | |||
| 48 | BBCLASSEXTEND = "native" | ||
