============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-flasgger/src/flasgger-0.9.5 collected 1 item / 1 error ==================================== ERRORS ==================================== ___________________ ERROR collecting tests/test_examples.py ____________________ ImportError while importing test module '/build/python-flasgger/src/flasgger-0.9.5/tests/test_examples.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_examples.py:2: in from flex.core import validate E ModuleNotFoundError: No module named 'flex' =============================== warnings summary =============================== flasgger/utils.py:5 /build/python-flasgger/src/flasgger-0.9.5/flasgger/utils.py:5: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp ../../../../usr/lib/python3.10/site-packages/marshmallow/__init__.py:14 /usr/lib/python3.10/site-packages/marshmallow/__init__.py:14: 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/warnings.html =========================== short test summary info ============================ ERROR tests/test_examples.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 0.26s ========================= ==> ERROR: A failure occurred in check().  Aborting...