Copilot commented on code in PR #51404:
URL: https://github.com/apache/arrow/pull/51404#discussion_r4090603995


##########
python/pyarrow/tests/test_array.py:
##########
@@ -2679,6 +2680,8 @@ def test_array_from_list_of_timestamps(unit):
 
 @pytest.mark.numpy
 def test_array_from_timestamp_with_generic_unit():
+    if Version(np.__version__) >= Version("2.5.0"):

Review Comment:
   NumPy nightly builds use versions such as `2.5.0.dev0`; 
`Version("2.5.0.dev0") < Version("2.5.0")`, so this guard does not skip even 
though the deprecation is already active and the warning remains in the nightly 
CI this PR targets. Use `2.5.0.dev0` as the threshold here and in the inverse 
guard below.



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