follow-up to #2218 Run CI with [`export NPY_PROMOTION_STATE=weak_and_warn`](https://numpy.org/neps/nep-0050-scalar-promotion.html#abstract) and [`pytest.filterwarnings=error`](https://docs.pytest.org/en/stable/reference/reference.html#confval-filterwarnings)
follow-up to #2218
Run CI with
export NPY_PROMOTION_STATE=weak_and_warnandpytest.filterwarnings=error