jorisvandenbossche opened a new pull request, #41071:
URL: https://github.com/apache/arrow/pull/41071

   ### Rationale for this change
   
   Adapting for changes in numpy 2.0 as decribed at 
https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
 and future changes to pass copy=True 
(https://github.com/numpy/numpy/issues/26208)
   
   ### What changes are included in this PR?
   
   Add a `copy=None` to the signatures of our `__array__` methods.
   
   This does have impact on the user facing behaviour, though. Questioning that 
upstream at https://github.com/numpy/numpy/issues/25941#issuecomment-2043035821
   
   ### Are these changes tested?
   
   Yes
   
   ### Are there any user-facing changes?
   
   No (compared to usage with numpy<2)


-- 
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