Cherry-pick 'dont_use_numpy2' from 'master' to '2024.1'
Update file pyproject.toml: don't use numpy 2
Closes #531 (closed)
See merge request !474 (merged)
(cherry picked from commit 65f3fe93)
99e36748 Update file pyproject.toml 9d605726 Add constraint on pycuda as well
Co-authored-by: Pierre Paleo pierre.paleo@esrf.fr