Before:
```
=============================== warnings summary ===============================
test/test_ctests.py:12
/tmp/libfuse-build-mB50ZC/build-gcc-9/test/test_ctests.py:12: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
```
set -e
sudo python3 -m pip install --upgrade pip
-sudo python3 -m pip install pytest meson==1.0.1
+sudo python3 -m pip install pytest meson==1.0.1 looseversion
valgrind --version
ninja --version
meson --version
import pytest
import platform
import sys
-from distutils.version import LooseVersion
+from looseversion import LooseVersion
from util import (wait_for_mount, umount, cleanup, base_cmdline,
safe_sleep, basename, fuse_test_marker, fuse_caps,
fuse_proto)
import errno
import sys
import platform
-from distutils.version import LooseVersion
+from looseversion import LooseVersion
from tempfile import NamedTemporaryFile
from contextlib import contextmanager
from util import (wait_for_mount, umount, cleanup, base_cmdline,