Skip to content

CLI is not working on Python 3.12 #13

@davi-cruz

Description

@davi-cruz

When using python 3.12, after overcome the dependency issue as stated by Issue 11, it fails with the error below, even if executed from the same directory where the folder common is located.

$ chronicle_cli parsers run
Traceback (most recent call last):
  File "/opt/tools/cli/env/bin/chronicle_cli", line 5, in <module>
    from main import cli
  File "/opt/tools/cli/main.py", line 23, in <module>
    from common import chronicle_auth
ModuleNotFoundError: No module named 'common'

Reverted to Python 3.11 and the error is not shown.
Tested this in multiple devices and the issue is reproducible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions