Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

Draft: fix: add pytest-redis to a list of dev deps

usov_i requested to merge fix-missing-dep into main

Fix ModuleNotFoundError in tests by adding a missing pytest-redis dependency. This exposes a new issue:

Traceback:
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_file_writer_service.py:8: in <module>
    from bec_plugins.services.NIDAQ_writer import NIDAQWriterService
bec_plugins/services/NIDAQ_writer/__init__.py:1: in <module>
    from .NIDAQ_writer import NIDAQWriterService
bec_plugins/services/NIDAQ_writer/NIDAQ_writer.py:12: in <module>
    from bec_lib.file_utils import FileWriterMixin
E   ImportError: cannot import name 'FileWriterMixin' from 'bec_lib.file_utils' (/usr/local/lib/python3.10/site-packages/bec_lib/file_utils.py)

It seems to be related to bec!544 (merged). Should FileWriterMixin be replaced by FileWriter? But the corresponding issue states the opposite: bec#244 (closed)

Merge request reports

Loading