numpy >= 1.17, <3