martinfleis opened a new issue, #37574: URL: https://github.com/apache/arrow/issues/37574
### Describe the bug, including details regarding any error messages, version, and platform. Numpy has deprecated `np.unicode_` and removed it in an upcoming 2.0 release. Current nightly builds do not have `np.unicode_` which results in an incompatibility between pyarrow main and numpy main due to this mapping: https://github.com/apache/arrow/blob/13f0cd8ee44833efbced05c8505de12f9f02f235/python/pyarrow/pandas_compat.py#L87-L102 and possibly would also fail on this one https://github.com/apache/arrow/blob/13f0cd8ee44833efbced05c8505de12f9f02f235/python/pyarrow/pandas_compat.py#L1008-L1018 numpy now raises `AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use `np.str_` instead.` See the [full traceback](https://github.com/geopandas/geopandas/actions/runs/6086861805/job/16514196822?pr=2996#step:5:4662) in the geopandas CI. ### Component(s) Python -- 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]
