Source: petsc4py Followup-For: Bug #1026346 Control: affects 1027044 src:petsc4py
As far as I can tell, this error is the python/numpy verson of "missing symbol" error after a library update with ABI bump. A similar error was found in many packages depending on numpy during the recent upgrade to numpy 1.23. Packages built after that (in unstable) saw the same error from their older version in testing, which cleared once the new packages (numpy and these new packages) migrated to testing. We have sonames to manage shared library dependencies, and manage library package updates using Transition bugs. In principle we have the same mechanism with numpy, python3-numpy Provides: python3-numpy-abi9, python3-numpy-api16 and correspondingly python3-petsc4py-real3.18 Depends: python3-numpy-abi9 and there is a new Transition bug filed (Bug#1027044) to now update numpy to 1.24. I'm not sure why the numpy abi mechanism has failed this time with petsc4py and numpy 1.23. Perhaps the abi declaration is buggy and numpy 1.23 does not actually provide python3-numpy-abi9. In any case, I expect the error to clear after rebuilding petsc4py against the latest numpy. Since the numpy transtion Bug#1027044 is filed, the problem should clear as part of that transition.