Skip to content

ModuleNotFoundError: No module named 'mode.utils.typing' #617

Description

@klajdicaushi

In several projects in which we are using faust-streaming, the following error came up today.
No change was done in the configurations of faust or kafka.

Checklist

  • I have included information about relevant versions
  • I have verified that the issue persists when using the master branch of Faust.

Steps to reproduce

Try to start faust through the cli, with the command:

python -m faust -A conf.kafka_consumer:app worker -l info

Full traceback

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.11/site-packages/faust/__main__.py", line 4, in <module>
    from faust.cli.faust import cli
  File "/usr/local/lib/python3.11/site-packages/faust/cli/__init__.py", line 3, in <module>
    from .base import AppCommand, Command, argument, call_command, option
  File "/usr/local/lib/python3.11/site-packages/faust/cli/base.py", line 39, in <module>
    from mode.utils.typing import NoReturn
ModuleNotFoundError: No module named 'mode.utils.typing'

Versions

  • Python version - 3.10, 3.11
  • Faust version - 0.10.14, 0.10.24
  • Operating system - Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions