Fix NumPy 1.x support, add NumPy 2.x and Python 3.12 support
NumPy is now at 2.x, which has some breaking changes. It's the default from pip, but not yet included in distributions. Make sure that Piglit works with both.
This also adds support for Python 3.12 (included with Fedora 40), and removes support for Python 3.7 (EOL 3 years ago, not shipped in any relevant distribution).
Edited by Daniel Stone