numpy.int removed in numpy 1.24.0
Using numpy.int fails with last numpy version.
Here are the occurrences I found with grep:
Server/plugins/RoiCollection.py:220: list_size * spectrum_size + 3, dtype=numpy.int
Server/plugins/RoiCollection.py:230: return numpy.array([], dtype=numpy.int)
Server/plugins/Bpm.py:303: profile_x = result.profile_x.buffer.astype(numpy.int)
Server/plugins/Bpm.py:305: profile_x = numpy.array([], dtype=numpy.int)
Server/plugins/Bpm.py:307: profile_y = result.profile_y.buffer.astype(numpy.int)
Server/plugins/Bpm.py:309: profile_y = numpy.array([], dtype=numpy.int)
Server/plugins/Bpm.py:318: profile_x = numpy.array([], dtype=numpy.int)
Server/plugins/Bpm.py:319: profile_y = numpy.array([], dtype=numpy.int)