Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_3.1.1.bb
T
Khem Raj 91f9687ff3 python3-pandas: upgrade 3.0.6 -> 3.1.1
Refresh the numpy include dir patch; meson.options exists upstream now.

Changes:
- BREAKING: NumPy >= 2.0.2 and python-dateutil >= 2.9.0 now required;
  C++20 is required to build from source; optional dependency minimums
  raised (matplotlib 3.10.5, lxml 6.0.0, Jinja2 3.1.6, numba 0.61.2...).
- Add DataFrame.select (with pandas.col expressions); new read_csv
  options; Index.values/Index.array return read-only arrays; Timestamp
  and to_datetime return datetime.timezone.utc; stricter Timedelta
  string parsing; infer_freq QS anchor reporting changed.
- Deprecate xlrd/pyxlsb engines in read_excel (use calamine),
  DataFrame.join lsuffix/rsuffix, mode.chained_assignment, and
  integers passed to Period.
- Building no longer needs MSVC on Windows; CRLF checkout fixes.
- 3.1.1 is a regression-fix release.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:58:58 -08:00

48 lines
1.5 KiB
BlitzBasic

SUMMARY = "pandas library for high-performance data analysis tools"
DESCRIPTION = "pandas is an open source, BSD-licensed library providing \
high-performance, easy-to-use data structures and data analysis tools for \
the Python programming language."
HOMEPAGE = "https://pandas.pydata.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d"
SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch "
SRC_URI[sha256sum] = "05fed3e3b7c99b226f160e29d7d6cb7ef39638c758cbfe42b3f24ba34f04b859"
CVE_PRODUCT = "pandas"
inherit pkgconfig pypi python_mesonpy cython
DEPENDS += " \
python3-numpy \
python3-versioneer-native \
python3-wheel-native \
"
CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
RDEPENDS:${PN} += " \
python3-json \
python3-numpy \
python3-dateutil \
python3-dateutil-zoneinfo \
python3-pytz \
python3-profile \
python3-zoneinfo \
"
PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:"
export PYTHONPATH
do_compile:append() {
# Cython embeds the path of the .pyx it was generated from into the
# generated C sources, which are shipped in the -dbg package
find ${B} \( -name "*.c" -o -name "*.cpp" \) -print0 | xargs -0 -r \
sed -i 's|${S}/|${TARGET_DBGSRC_DIR}/|g'
}
EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "
BBCLASSEXTEND = "native"