sjyangkevin commented on issue #52753:
URL: https://github.com/apache/airflow/issues/52753#issuecomment-3094732633

   @potiuk , @Lee-W , I have looked into the pandas issue. It works eventually 
and I think below is the root cause for the issue.
   
   ```
   The ValueError: numpy.dtype size changed, may indicate binary 
incompatibility. Expected 96 from C header, got 88 from PyObject 
   ```
   
   The error is indeed related to a version mismatch or binary incompatibility 
between the installed numpy version and another package that depends on it, in 
this case, pandas. I tried multiple ways to upgrade numpy only from 1.x to 2.x 
but pandas is not upgraded. It could be the existing pandas version is not 
compatible with the new numpy version after this partial upgrades. The issue is 
resolved after running `uv pip install --upgrade pandas`.
   
   * pandas is upgraded from `2.1.4` to `2.3.1`
   * numpy is upgraded from `1.26.4` to `2.3.1`
   
   I will create a PR to fix the issue related to the numpy bool 
serializer/deserializer. Any suggestion or feedback on the proposed method? 
thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to