Bug#1148010: pandas: FTBFS on powerpc - skiprows callable always receives 0

Trupti trupti at linux.ibm.com
Wed Sep 16 09:10:44 BST 2026


On 2026-09-16 13:28, John Paul Adrian Glaubitz wrote:
> Hi Trupti,
> 
> On Wed, 2026-09-16 at 13:01 +0530, Trupti wrote:
> 
> What about explicitly declaring "rownum" as long long in order to avoid
> the cast?
> 
> int64_t rownum;
> PyObject *result = PyObject_CallFunction(self->skipfunc, "L", rownum);
> 
> Either way, I suggest you send the pull request upstream and see what
> they prefer.
> 
> Thanks a lot for fixing this!
> 
> Adrian


Hi Adrian,

Thank you for the review and suggestion!

I will send the pull request upstream with both approaches mentioned
and let the pandas maintainers decide which they prefer.

Once upstream accepts it I will update the Debian patch accordingly.


Thanks,
Trupti



More information about the debian-science-maintainers mailing list