Tests failing due to marshmallow
Seemingly, an issue with the marshmallow Python dependency has appeared which causes tests to fail.
Error:
py.test -s -v --interface=lo -k test_mkdir
============================================================================================================================================================================================ test session starts ============================================================================================================================================================================================
platform linux -- Python 3.12.3, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /home/evie/remote_mac/gekkofs/build/tests/integration/pytest-venv/bin/python3.12
cachedir: .pytest_cache
rootdir: /home/evie/remote_mac/gekkofs/build/tests/integration, configfile: pytest.ini, testpaths: /home/evie/remote_mac/gekkofs/tests/integration
plugins: forked-1.1.3, xdist-1.31.0, dependency-0.5.1
collected 0 items / 1 error
================================================================================================================================================================================================== ERRORS ===================================================================================================================================================================================================
_______________________________________________________________________________________________________________________________________________________________________________________ ERROR collecting test session _______________________________________________________________________________________________________________________________________________________________________________________
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
pytest-venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
../../../tests/integration/conftest.py:37: in <module>
from harness.gkfs import Daemon, Client, ShellClient, FwdDaemon, FwdClient, ShellFwdClient, FwdDaemonCreator, FwdClientCreator
../../../tests/integration/harness/gkfs.py:36: in <module>
from harness.io import IOParser
../../../tests/integration/harness/io.py:30: in <module>
from marshmallow import Schema, fields, pre_load, post_load
pytest-venv/lib/python3.12/site-packages/marshmallow/__init__.py:14: in <module>
from distutils.version import LooseVersion
E ModuleNotFoundError: No module named 'distutils'
============================================================================================================================================================================================= warnings summary ==============================================================================================================================================================================================
pytest-venv/lib/python3.12/site-packages/pyparsing.py:108
/home/evie/remote_mac/gekkofs/build/tests/integration/pytest-venv/lib/python3.12/site-packages/pyparsing.py:108: DeprecationWarning: module 'sre_constants' is deprecated
import sre_constants
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================================================================================================================================== short test summary info ==========================================================================================================================================================================================
ERROR - ModuleNotFoundError: No module named 'distutils'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================================================================================================================================================== 1 warning, 1 error in 0.65s ========================================================================================================================================================================================