Yes, that's certainly the case.
Changing:
    values = np.random.randint(lower, upper, size=size)
to:
    values = np.random.randint(lower, upper, size=size, dtype=np.int64)

would hopefully fix the issue.  Neville, could you try it out?

Thank you

Antoine.

Le 06/07/2020 à 14:16, Rok Mihevc a écrit :
> Numpy on windows has different default bitwidth than on linux. Perhaps this
> is causing the issue? (see:
> https://stackoverflow.com/questions/36278590/numpy-array-dtype-is-coming-as-int32-by-default-in-a-windows-10-64-bit-machine
> )
> 
> Rok
> 
> On Mon, Jul 6, 2020 at 12:57 PM Neville Dipale <[email protected]>
> wrote:
> 
>> Hi Arrow devs,
>>
>> I'm trying to run archery integration tests in Windows 10 (Python 3.7.7;
>> conda 4.8.3), but I'm getting an error *ValueError: low is out of bounds
>> for int32* (
>> https://gist.github.com/nevi-me/4946eabb2dc111e10b98c074b45b73b1
>> ).
>>
>> Has someone else encountered this problem before?
>>
>> Regards
>> Neville
>>
> 

Reply via email to