3.0.5: test_python.py fails to import apparmor

When trying to package 3.0.5 on Arch Linux I am unable to run the test suite for libraries/libapparmor (i.e. make -C libraries/libapparmor check).

=======================================
   : swig/python/test/test-suite.log
=======================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_python.py
====================

Traceback (most recent call last):
  File "/build/apparmor/src/apparmor-3.0.5-test/libraries/libapparmor/swig/python/test/./test_python.py", line 16, in <module>
    import LibAppArmor as libapparmor
ModuleNotFoundError: No module named 'LibAppArmor'
FAIL test_python.py (exit status: 1)

Manually adding $PWD/libraries/libapparmor/swig/python/build/lib.linux-x86_64-3.10/ to PYTHONPATH before the make call does not work.

I really wish stuff like this would not break in a patch level release... 😢