[Bug 1898112] perl-Inline-Python fails to build with Python 3.10: tests fail