Commit Graph

5 Commits

Author SHA1 Message Date
Hongxu Jia
c723824e4d
python3-pandas: fix reproducibility issue
The type of new_value is either `npy_timedelta' or `int64_t'
In build/pandas/_libs/tslibs/timedeltas.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/tslibs/timedeltas.pyx.c
..
npy_timedelta __pyx_v_new_value;
...

In build/pandas/_libs/tslibs/timedeltas.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/tslibs/timedeltas.pyx.c
...
__pyx_t_5numpy_int64_t __pyx_v_new_value;
...

Explicitly define it as int64_t to assure the generated source is
reproducibility between builds

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-05 21:43:44 -07:00
Ambroise Vincent
474d80f419
python3-pandas: Add native target to the build
Add the native target to the recipe.

Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-19 12:21:59 -07:00
Khem Raj
6e54f45cd3
python3-pandas: Loosen the search path for generated file sparse.pyx.c
Hardcoded path works only when target is x86_64, but fails for other
architectures, loosen the search path regexp

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-03 18:28:36 -07:00
Alper Ak
389a2e48a8
python3-pandas: Fix contains reference to TMPDIR [buildpaths] error
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-26 07:26:20 -07:00
Khem Raj
02c52ce66f
python3-pandas: Upgrade to 2.2.3
Fixes build with cython >=3.1
Drop patch to pin numpy to 1.x
Edit out absolute paths from cython generated C files

Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-19 15:06:30 -07:00