Hello Everyone,
I am trying to update the following package but getting an error:
:: 1 package to upgrade/install.
1 aur/python-future 1.0.0-2 -> 1.0.0-4
Error:
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
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/home/aahmad/.cache/yay/python-future/src/future-1.0.0/.hypothesis/examples'))
rootdir: /home/aahmad/.cache/yay/python-future/src/future-1.0.0
configfile: pytest.ini
plugins: typeguard-4.4.1, hypothesis-6.123.2, jaraco.test-5.4.0
collected 99 items / 1 error
================================================================================== ERRORS ===================================================================================
___________________________________________________________ ERROR collecting tests/test_past/test_translation.py ____________________________________________________________
ImportError while importing test module '/home/aahmad/.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/aahmad/.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.66s ========================================================================
==> 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
Can anyone help me resolve this error please? Any assistance would be greatly appreciated.
Thanks!