h-vetinari commented on PR #42099: URL: https://github.com/apache/arrow/pull/42099#issuecomment-2161622626
Tested this in https://github.com/conda-forge/pyarrow-feedstock/pull/124, almost all failures are gone, except one: ``` ================================== FAILURES =================================== _______________ TestConvertPrimitiveTypes.test_integer_no_nulls _______________ self = <pyarrow.tests.test_pandas.TestConvertPrimitiveTypes object at 0x0000022C03165F50> def test_integer_no_nulls(self): data = OrderedDict() fields = [] numpy_dtypes = [ ('i1', pa.int8()), ('i2', pa.int16()), ('i4', pa.int32()), ('i8', pa.int64()), ('u1', pa.uint8()), ('u2', pa.uint16()), ('u4', pa.uint32()), ('u8', pa.uint64()), ('longlong', pa.int64()), ('ulonglong', pa.uint64()) ] num_values = 100 for dtype, arrow_dtype in numpy_dtypes: info = np.iinfo(dtype) > values = np.random.randint(max(info.min, np.iinfo(np.int_).min), min(info.max, np.iinfo(np.int_).max), size=num_values) pyarrow\tests\test_pandas.py:770: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ numpy\\random\\mtrand.pyx:796: in numpy.random.mtrand.RandomState.randint ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ValueError: low is out of bounds for int32 numpy\\random\\_bounded_integers.pyx:1421: ValueError ``` -- 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]
