Error during update KDE

Hi all,

During system update, I get this errors, but dont know why and how to fix them .
Any help ?

Thanks

removing build/bdist.linux-x86_64/wheel
Successfully built future-1.0.0-py3-none-any.whl
==> Starting check()...
============================================ test session starts =============================================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/markob/.cache/yay/python-future/src/future-1.0.0
configfile: pytest.ini
collected 99 items / 1 error                                                                                 

=================================================== ERRORS ===================================================
____________________________ ERROR collecting tests/test_past/test_translation.py ____________________________
ImportError while importing test module '/home/markob/.cache/yay/python-future/src/future-1.0.0/tests/test_past/test_translation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_past/test_translation.py:21: in <module>
    from past.translation import install_hooks, remove_hooks, common_substring
build/lib/past/translation/__init__.py:44: in <module>
    from lib2to3.pgen2.parse import ParseError
E   ModuleNotFoundError: No module named 'lib2to3'
============================================== warnings summary ==============================================
build/lib/future/backports/test/support.py:1945
  /home/markob/.cache/yay/python-future/src/future-1.0.0/build/lib/future/backports/test/support.py:1945: SyntaxWarning: invalid escape sequence '\d'
    m = re.match("2.6.(\d{1,2})", kernel_version)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================== short test summary info ===========================================
ERROR tests/test_past/test_translation.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================== 1 warning, 1 error in 0.16s =========================================
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python-future-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-future - exit status 4
[markob@marko-82sn ~]$

The issue with python-future has also been discussed here Issues updating Python-Future

I had the same issue and removed it as it was not needed by any packages.

2 Likes

Take a look at my solution in that thread. Maybe it helps

2 Likes

Thanks @swh and @iamnotme . That solved my issue :slight_smile:

2 Likes

I’m glad I could help. Please mark a post as a solution

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.