Failures when running with numpy 1.22.0
I am seeing a few failures when running against numpy 1.22.0. To demonstrate I took the liberty of running a pipeline on the main branch, see https://git.ligo.org/lscsoft/ligo.skymap/-/pipelines/338728 for examples of errors like this:
Warning, treated as error:
/tmp/tmp.QeXs3Yt3M5/docs/tool/ligo_skymap_plot.rst:14:Exception occurred in plotting ligo_skymap_plot-1
from /tmp/tmp.QeXs3Yt3M5/docs/tool/ligo_skymap_plot.rst:
Traceback (most recent call last):
File "/tmp/tmp.QeXs3Yt3M5/.tox/build_docs/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc
return bound(*args, **kwds)
TypeError: the resolved dtypes are not compatible with add.accumulate. Resolved (dtype('float32'), dtype('float32'), dtype('float32'))