PyWENO
PyWENO copied to clipboard
Update for Python 3.12 and Numpy 2.0
This updates the code to work with the latest versions:
- Python 3.12 removed the
impmodule used inpyweno.version. I removed this entirely and just imported the other files. - Numpy 2.0 removed
PyArray_DOUBLEin favor ofNPY_DOUBLE. - Numpy 2.3 also removed
NPY_IN_ARRAYin favor ofNPY_ARRAY_IN_ARRAY.
This builds locally and the tests run without any errors.