Deprecation warnings in CI test "pytest-commits"
Output below:
=============================== warnings summary ===============================
.ci/testcases/add_pmbootstrap_to_import_path/__init__.py:10
/builds/postmarketOS/pmaports/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py:10: 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.sysconfig import get_python_lib
.ci/testcases/add_pmbootstrap_to_import_path/__init__.py:10
/builds/postmarketOS/pmaports/.ci/testcases/add_pmbootstrap_to_import_path/__init__.py:10: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
from distutils.sysconfig import get_python_lib
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
Would be good to have this resolved before Python 3.12's release at least.