holoviz / datashader

Quickly and accurately render even the largest data.
http://datashader.org
BSD 3-Clause "New" or "Revised" License
3.3k stars 366 forks source link

Errors using numba 0.57.0rc1 #1201

Closed ianthomas23 closed 1 year ago

ianthomas23 commented 1 year ago

Running CI using numba 0.57.0rc1 gives the following errors:

FAILED datashader/tests/test_raster.py::test_raster_integer_nan_value - numba.core.errors.NumbaTypeError: Unsupported array type: numpy.ma.MaskedArray.
FAILED datashader/tests/test_raster.py::test_raster_integer_nan_value_padding - numba.core.errors.NumbaTypeError: Unsupported array type: numpy.ma.MaskedArray.
FAILED datashader/tests/test_raster.py::test_raster_single_pixel_range - numba.core.errors.NumbaTypeError: Unsupported array type: numpy.ma.MaskedArray.
FAILED datashader/tests/test_raster.py::test_raster_single_pixel_range_with_padding - numba.core.errors.NumbaTypeError: Unsupported array type: numpy.ma.MaskedArray.
================================= 4 failed, 897 passed, 66 skipped, 5734 warnings in 266.77s (0:04:26) =================================
ianthomas23 commented 1 year ago

Thanks to @Hoxbro for first identifying this.

ianthomas23 commented 1 year ago

Fixed by #1205.

ianthomas23 commented 1 year ago

Closing this as numba 0.57 and python 3.11 support in now in the main branch. I'll cut a dev release later today with the expectation of a full release soon (next week?)