Log Message: py-numpy: fix build with Python 3.12 The upstream code has moved and changed and it's hard to see what/when, but I've tried to make it match what upstream is doing now.