Newer versions of numpy don't support calling numpy data types with too low precision - https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations. Could just pin older numpy versions as a requirement but I think the best approach would be to replace np.int with np.int32 etc where appropriate. I'm happy to prepare a PR to address this.
Newer versions of numpy don't support calling numpy data types with too low precision - https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations. Could just pin older numpy versions as a requirement but I think the best approach would be to replace np.int with np.int32 etc where appropriate. I'm happy to prepare a PR to address this.