Skip to content

importlib.metadata requires python 3.8+ #1

@WixoLeo

Description

@WixoLeo

Fantastic day everyone!

On the readme file it specifies that the python requirements is 3.5+
https://github.com/chaostoolkit/chaostoolkit-addons/blob/master/README.md#install

However the init.py file includes an import that is only available from python 3.8+

from importlib.metadata import version, PackageNotFoundError

If someone will try to use it or import the safeguards.py for example while they are lower than 3.8, they will get an error:
ModuleNotFoundError: No module named 'importlib.metadata'

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