Error after update

Hi everyone,Happy New year,
after update i got this errorr .
Any idea how to fix it. Thank you


========================================================== ERRORS ===========================================================
___________________________________ ERROR collecting tests/test_past/test_translation.py ____________________________________
ImportError while importing test module '/home/yuli/.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/yuli/.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.42s ================================================
==> 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

Press ENTER to close this window:           

Happy new year! Take a look here:

for me the problem was solved with deleting python-future

sudo pacman -R python-future

4 Likes

Thank you ,now is fine after remove python-future

2 Likes

As it has resolved the issue, you might consider marking @moxdrox’s answer as the Solution @Omurtak :+1:

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