You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CI][Python] NumPy deprecation warnings in test_cuda.py (test-cuda-python nightly build) #36455
In the test-cuda-python nightly build, there are a whole set of identical warnings, like:
usr/local/lib/python3.8/dist-packages/pyarrow/tests/test_cuda.py::test_copy_from_to_host[1000]
/usr/local/lib/python3.8/dist-packages/pyarrow/tests/test_cuda.py:359: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 256 to uint8 will fail in the future.
For the old behavior, usually:
np.array(value).astype(dtype)`
will give the desired result (the cast overflows).
arr[:] = range(size)
Activity
raulcd commentedon Jul 4, 2023
This seems to be worked on here: #36453 (comment)
GH-36449: [C++][CI] Don't use -g1 for Python jobs (#36453)