Some tests fail with Python 3.12
For the Python 3.12 rebuild I had to disable a few tests: archlinux/packaging/packages/repod@29596a32
It appears unittest.mock.Mock.has_calls
has been silently removed and unittest.mock.Mock.assert_has_calls
behaves differently.
Needs investigation.