Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj 2e4ce0db2f python3-pandas: fix stripping of build paths from generated sources
do_install failed because the glob in do_install:prepend did not match
anything, leaving sed with a literal path to a non-existent file:

  sed: can't read .../build/pandas/_libs/sparse.cpython-*/pandas/_libs/sparse.pyx.c: No such file or directory

meson names the per-target private directory <target>.so.p and puts the
generated sources directly in it, so the actual file is

  ${B}/pandas/_libs/sparse.cpython-314-x86_64-linux-gnu.so.p/sparse.pyx.c

The do_compile:append hunk was meant to do the same job for every
generated source, but it searched for ${WORKDIR}/pandas-${PV}, which no
longer exists now that sources are unpacked under ${WORKDIR}/sources, so
it silently matched nothing.

Fix the remaining pass to look for ${S} and drop the redundant (and
fragile) per-file sed in do_install:prepend. Also parenthesise the -o
expression so the name filter applies to both alternatives, and use
-print0/-0.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 23:09:51 -07:00
Khem Raj 73d5c6ab2d python3-pandas: Add python3-wheel-native to DEPENDS
Fixes
| * Getting build dependencies for wheel...
|
| ERROR Unmet dependencies (checked against <sysroot-native>/usr/bin/nativepython3):
| 	wheel
| 		wanted: any
| 		found: not installed

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 20:15:33 -07:00
Ankur Tyagi dd876a79a2 python3-pandas: upgrade 3.0.4 -> 3.0.5
Release Notes:
https://pandas.pydata.org/docs/whatsnew/v3.0.5.html

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-04 18:01:16 -07:00