Skip to content

Support for newer Python versions #450

Open
@Necr0x0Der

Description

snet_cli can now be used by Python 3.7 and depends on a number of libraries with outdated versions (web3, eth_account, trezor, protobuf, etc. etc.). For example, snet-cli requires web3==4.8.3, which seems to be incompatible with Python 3.10 (producing ImportError: cannot import name 'Mapping' from 'collections'). If a newer version of web3 is installed under Python 3.10, ImportError goes away, but eth_account.internal is used by snet-cli, which is absent in the newer version of eth_account used in the newer version of web3. While using Python 3.7 is ok for CLI by itself, it is really inconvenient for integrating into other components for automatic usage. For example, SNet Platform Assistant may need to automatically collect information about services, and this functionality is fully provided by Python components of snet-cli, and thus it would be very convenient to have an snet-cli version compatible with, say, Python 3.10 to make snet-cli interoperable with newer libraries and tools in the same environment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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