Skip to content

etosctl failing due to missing ssev2 import #417

@andmat900

Description

@andmat900

Description

etos_client.sse.v2alpha.client contains dependencies to etos_library changes that aren't yet released. This causes an import error during module discovery.

Additional Context

No response

Logs

...
packages/etos_client/__init__.py", line 18, in <module>
    from .command import TestRun
  File "/home/user/src/etos/cli/venv/lib/python3.9/site-packages/etos_client/command.py", line 23, in <module>
    from etos_client.etos.v1alpha.command import ETOSv1alpha
  File "/home/user/src/etos/cli/venv/lib/python3.9/site-packages/etos_client/etos/v1alpha/command.py", line 21, in <module>
    from .subcommands.start import Start
  File "/home/user/src/etos/cli/venv/lib/python3.9/site-packages/etos_client/etos/v1alpha/subcommands/start.py", line 25, in <module>
    from etos_client.etos.v1alpha.etos import Etos
  File "/home/user/src/etos/cli/venv/lib/python3.9/site-packages/etos_client/etos/v1alpha/etos.py", line 34, in <module>
    from etos_client.sse.v2alpha.client import SSEClient as SSEV2AlphaClient, TokenExpired
  File "/home/user/src/etos/cli/venv/lib/python3.9/site-packages/etos_client/sse/v2alpha/client.py", line 27, in <module>
    from etos_lib.messaging.events import Shutdown, Event, parse
ModuleNotFoundError: No module named 'etos_lib.messaging'

Expected Behavior

No import errors.

Steps To Reproduce

python -m venv venv
source venv/bin/activate
pip install etos_client
etosctl

The version of this project/repo, if applicable

main

The version/edition of the Eiffel Protocol used, if applicable

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions