It seems numpy recently changed their dtype system and we now get warnings for np.bool, np.int and np.long. Instead, the warnings suggest we should use the python types or np.compat.long.
Since we have a few tests that require zero warnings, this means our test suite fails (and more than 13000 warnings are not a good thing, anyways).