Message ID | 20250623205434.954680-1-alperyasinak1@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-python] python3-pandas: Fix contains reference to TMPDIR [buildpaths] error | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb index c7e3ec8fec..b817b0538d 100644 --- a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb @@ -41,4 +41,8 @@ do_compile:append() { sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g' } +do_install:prepend() { + sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c +} + EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "
Ensures TMPDIR is removed before packaging. ERROR: python3-pandas-2.2.3-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-pandas/2.2.3/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c in package python3-pandas-src contains reference to TMPDIR [buildpaths] Signed-off-by: Alper Ak <alperyasinak1@gmail.com> --- meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 4 ++++ 1 file changed, 4 insertions(+)