Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for newer Python versions #450

Open
Necr0x0Der opened this issue Oct 10, 2023 · 0 comments
Open

Support for newer Python versions #450

Necr0x0Der opened this issue Oct 10, 2023 · 0 comments

Comments

@Necr0x0Der
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant