Tribler/py-ipv8

Validation action fails on missing dependencies

qstokkink opened this issue · 0 comments

The validation action does not install the required dependencies for IPv8, causing the actions to fail.

Run python run_all_tests.py -a
Traceback (most recent call last):
  File "/home/runner/work/py-ipv8/py-ipv8/run_all_tests.py", line 261, in <module>
    test_class_names = find_all_test_class_names()
  File "/home/runner/work/py-ipv8/py-ipv8/run_all_tests.py", line 246, in find_all_test_class_names
    test_class_names.extend(derive_test_class_names(found_test))
  File "/home/runner/work/py-ipv8/py-ipv8/run_all_tests.py", line 230, in derive_test_class_names
    module_instance = importlib.import_module(module_name)
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/runner/work/py-ipv8/py-ipv8/ipv8/test/test_requestcache.py", line 3, in <module>
    from ..requestcache import NumberCache, RandomNumberCache, RandomNumberCacheWithName, RequestCache
  File "/home/runner/work/py-ipv8/py-ipv8/ipv8/requestcache.py", line 12, in <module>
    from typing_extensions import Protocol
ModuleNotFoundError: No module named 'typing_extensions'
Error: Process completed with exit code 1.