fetchai / agents-aea

A framework for autonomous economic agent (AEA) development
https://docs.fetch.ai/aea/
Apache License 2.0
203 stars 62 forks source link

Feature request: Update protobuf & jsonschema dependencies #2814

Open mariacarmina opened 1 year ago

mariacarmina commented 1 year ago

Prerequisites

Problem

Importing aea version 1.2.3, some packages are not compatible with eth-brownie module such as jsonschema & protobuf. The output snippets after the installation of the deps:

[pipenv.exceptions.InstallError]: The conflict is caused by:
[pipenv.exceptions.InstallError]:     aea 1.2.3 depends on jsonschema<5.0.0 and >=4.0.0
[pipenv.exceptions.InstallError]:     eth-brownie 1.19.1 depends on jsonschema==3.2.0
[pipenv.exceptions.InstallError]: 

[pipenv.exceptions.InstallError]: The conflict is caused by:
[pipenv.exceptions.InstallError]:     aea 1.2.3 depends on protobuf<=3.19.4 and >=3.19.0
[pipenv.exceptions.InstallError]:     eth-brownie 1.19.1 depends on protobuf==3.20.1
[pipenv.exceptions.InstallError]: 

Feature / Solution

Extend the range of versions of the dependencies in order to be compatible with brownie module as well. Such as:

jsonschema = "^3.2.0"
protobuf = ">=3.19.4,<4.0.0"

Alternatives

No response

Additional Context

No response