autonity / aut

A command-line RPC client for Autonity
MIT License
11 stars 10 forks source link

feat: support python 3.11 #118

Closed noandrea closed 1 year ago

noandrea commented 1 year ago

Adds support for python 3.11 by updating the autonity.py dependency.

The support is introduced by the upgrade of the web3 dependency to a new major version (6), that brings some breaking changes in method signatures that affects the aut client.

More info here: https://web3py.readthedocs.io/en/stable/v6_migration.html

noandrea commented 1 year ago

there is a very strange error in the CI, I cannot reproduce it anywhere else, also simulating local builds with act. The error is triggered while checking for dependencies and it is caused by trying to process a corrupted json file/string https://github.com/autonity/aut/actions/runs/4935051075/jobs/8820868886

cmjc commented 1 year ago

there is a very strange error in the CI, I cannot reproduce it anywhere else, also simulating local builds with act. The error is triggered while checking for dependencies and it is caused by trying to process a corrupted json file/string https://github.com/autonity/aut/actions/runs/4935051075/jobs/8820868886

The same error message is gotten when using sign-message and the specified key path is wrong - i.e. a file not found or empty/missing value error - rather than 'corrupted'