Skip to content

Commit

Permalink
chore: bump oaea and oa frameworks, and tomte
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantios committed Nov 21, 2023
1 parent b21a184 commit 4cd68c2
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/common_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tomte[tox,cli]==0.2.12
run: pip install tomte[tox,cli]==0.2.14
- name: Check copyright headers
run: tomte check-copyright --author valory --exclude-part abci --exclude-part http_client --exclude-part ipfs --exclude-part ledger --exclude-part p2p_libp2p_client --exclude-part gnosis_safe --exclude-part gnosis_safe_proxy_factory --exclude-part multisend --exclude-part service_registry --exclude-part protocols --exclude-part abstract_abci --exclude-part abstract_round_abci --exclude-part registration_abci --exclude-part reset_pause_abci --exclude-part termination_abci --exclude-part transaction_settlement_abci --exclude-part websocket_client --exclude-part contract_subscription
- name: License compatibility check
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tomte[tox,cli]==0.2.12
pip install tomte[tox,cli]==0.2.14
# Install `mdspell` for spelling checks
sudo npm install -g markdown-spellcheck
Expand Down
6 changes: 3 additions & 3 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ logging_config:
propagate: true
dependencies:
open-aea-ledger-cosmos:
version: ==1.41.0.post1
version: ==1.42.0
open-aea-ledger-ethereum:
version: ==1.41.0.post1
version: ==1.42.0
open-aea-test-autonomy:
version: ==0.13.4
version: ==0.13.6
skill_exception_policy: stop_and_exit
connection_exception_policy: just_log
default_connection: null
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/contracts/agent_registry/contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ contract_interface_paths:
ethereum: build/AgentRegistry.json
dependencies:
open-aea-ledger-ethereum:
version: ==1.41.0.post1
version: ==1.42.0
open-aea-test-autonomy:
version: ==0.13.4
version: ==0.13.6
web3:
version: <7,>=6.0.0
4 changes: 2 additions & 2 deletions packages/valory/contracts/erc20/contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ dependencies:
eth_typing: {}
hexbytes: {}
open-aea-ledger-ethereum:
version: ==1.41.0.post1
version: ==1.42.0
open-aea-test-autonomy:
version: ==0.13.4
version: ==0.13.6
packaging: {}
py-eth-sig-utils: {}
requests: {}
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/contracts/market_maker/contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ dependencies:
eth_typing: {}
hexbytes: {}
open-aea-ledger-ethereum:
version: ==1.41.0.post1
version: ==1.42.0
open-aea-test-autonomy:
version: ==0.13.4
version: ==0.13.6
packaging: {}
py-eth-sig-utils: {}
requests: {}
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/contracts/mech/contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ contract_interface_paths:
ethereum: build/mech.json
dependencies:
open-aea-ledger-ethereum:
version: ==1.41.0.post1
version: ==1.42.0
web3:
version: <7,>=6.0.0
eth_typing: {}
4 changes: 2 additions & 2 deletions packages/valory/contracts/service_staking_token/contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ contract_interface_paths:
ethereum: build/ServiceStakingToken.json
dependencies:
open-aea-ledger-ethereum:
version: ==1.41.0.post1
version: ==1.42.0
open-aea-test-autonomy:
version: ==0.13.4
version: ==0.13.6
web3:
version: <7,>=6.0.0
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ include = "packages"

[tool.poetry.dependencies]
python = ">=3.10, <3.11"
open-autonomy = "==0.13.4"
open-autonomy = "==0.13.6"
requests = "==2.28.2"
py-multibase = "==1.0.3"
py-multicodec = "==0.2.1"
py-eth-sig-utils = "*"
grpcio = "==1.53.0"
asn1crypto = "<1.5.0,>=1.4.0"
open-aea-ledger-ethereum = "==1.41.0.post1"
open-aea-ledger-cosmos = "==1.41.0.post1"
open-aea-ledger-ethereum = "==1.42.0"
open-aea-ledger-cosmos = "==1.42.0"
protobuf = "<4.25.0,>=4.21.6"
hypothesis = "==6.21.6"
open-aea-test-autonomy = "==0.13.4"
open-aea-test-autonomy = "==0.13.6"
web3 = "<7,>=6.0.0"
ipfshttpclient = "==0.8.0a2"
open-aea-cli-ipfs = "==1.41.0.post1"
open-aea-cli-ipfs = "==1.42.0"
aiohttp = "<3.8,>=3.7.4"
certifi = "*"
multidict = "*"
Expand All @@ -52,5 +52,5 @@ urllib3 = "==1.26.16"
jsonschema = "<=4.19.0,>=4.16.0"

[tool.poetry.group.dev.dependencies.tomte]
version = "==0.2.12"
version = "==0.2.14"
extras = [ "cli", "tests",]
42 changes: 21 additions & 21 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ isolated_build = True

[deps-tests]
deps =
tomte[tests]==0.2.12
tomte[tests]==0.2.14

[deps-packages]
deps =
{[deps-tests]deps}
open-autonomy==0.13.4
open-autonomy==0.13.6
requests==2.28.2
py-multibase==1.0.3
py-multicodec==0.2.1
py-eth-sig-utils
grpcio==1.53.0
asn1crypto<1.5.0,>=1.4.0
open-aea-ledger-ethereum==1.41.0.post1
open-aea-ledger-cosmos==1.41.0.post1
open-aea-ledger-ethereum==1.42.0
open-aea-ledger-cosmos==1.42.0
protobuf<4.25.0,>=4.21.6
hypothesis==6.21.6
open-aea-test-autonomy==0.13.4
open-aea-test-autonomy==0.13.6
web3<7,>=6.0.0
ipfshttpclient==0.8.0a2
open-aea-cli-ipfs==1.41.0.post1
open-aea-cli-ipfs==1.42.0
aiohttp<3.8,>=3.7.4
certifi
multidict
Expand Down Expand Up @@ -69,41 +69,41 @@ setenv =
[testenv:bandit]
skipsdist = True
skip_install = True
deps = tomte[bandit]==0.2.12
deps = tomte[bandit]==0.2.14
commands =
bandit -s B101 -r {env:SERVICE_SPECIFIC_PACKAGES}
bandit -s B101 -r scripts

[testenv:black]
skipsdist = True
skip_install = True
deps = tomte[black]==0.2.12
deps = tomte[black]==0.2.14
commands = black {env:SERVICE_SPECIFIC_PACKAGES} scripts

[testenv:black-check]
skipsdist = True
skip_install = True
deps = tomte[black]==0.2.12
deps = tomte[black]==0.2.14
commands = black --check {env:SERVICE_SPECIFIC_PACKAGES} scripts

[testenv:isort]
skipsdist = True
skip_install = True
deps = tomte[isort]==0.2.12
deps = tomte[isort]==0.2.14
commands =
isort {env:SERVICE_SPECIFIC_PACKAGES} --gitignore
isort scripts/

[testenv:isort-check]
skipsdist = True
skip_install = True
deps = tomte[isort]==0.2.12
deps = tomte[isort]==0.2.14
commands = isort --check-only --gitignore {env:SERVICE_SPECIFIC_PACKAGES} scripts

[testenv:check-hash]
skipsdist = True
usedevelop = True
deps = open-autonomy[all]==0.13.4
deps = open-autonomy[all]==0.13.6
commands =
autonomy init --reset --author ci --remote --ipfs --ipfs-node "/dns/registry.autonolas.tech/tcp/443/https"
autonomy packages sync
Expand All @@ -128,15 +128,15 @@ commands =
[testenv:flake8]
skipsdist = True
skip_install = True
deps = tomte[flake8]==0.2.12
deps = tomte[flake8]==0.2.14
commands =
flake8 {env:SERVICE_SPECIFIC_PACKAGES}
flake8 scripts

[testenv:mypy]
skipsdist = True
skip_install = True
deps = tomte[mypy]==0.2.12
deps = tomte[mypy]==0.2.14
commands =
mypy {env:SERVICE_SPECIFIC_PACKAGES} --disallow-untyped-defs --config-file tox.ini
mypy scripts --disallow-untyped-defs --config-file tox.ini
Expand All @@ -146,35 +146,35 @@ whitelist_externals = /bin/sh
skipsdist = True
deps =
{[deps-packages]deps}
tomte[pylint]==0.2.12
tomte[pylint]==0.2.14
commands = pylint --ignore-patterns=".*_pb2.py" --ignore-paths="^packages/valory/.*$" --disable=C0103,R0801,R0912,C0301,C0201,C0204,C0209,W1203,C0302,R1735,R1729,W0511 {env:SERVICE_SPECIFIC_PACKAGES} scripts

[testenv:safety]
skipsdist = True
skip_install = True
deps = tomte[safety]==0.2.12
deps = tomte[safety]==0.2.14
commands = safety check -i 37524 -i 38038 -i 37776 -i 38039 -i 39621 -i 40291 -i 39706 -i 41002 -i 51358 -i 51499

[testenv:darglint]
skipsdist = True
skip_install = True
deps = tomte[darglint]==0.2.12
deps = tomte[darglint]==0.2.14
commands = darglint scripts {env:SERVICE_SPECIFIC_PACKAGES}/*

[testenv:check-generate-all-protocols]
skipsdist = True
usedevelop = True
deps =
{[deps-packages]deps}
tomte[isort]==0.2.12
tomte[black]==0.2.12
tomte[isort]==0.2.14
tomte[black]==0.2.14
commands = autonomy generate-all-protocols --check-clean

[testenv:spell-check]
whitelist_externals = mdspell
skipsdist = True
usedevelop = True
deps = tomte[cli]==0.2.12
deps = tomte[cli]==0.2.14
commands = tomte check-spelling

[testenv:abci-docstrings]
Expand Down Expand Up @@ -216,7 +216,7 @@ commands = {toxinidir}/scripts/check_doc_ipfs_hashes.py --fix
[testenv:liccheck]
skipsdist = True
usedevelop = True
deps = tomte[liccheck,cli]==0.2.12
deps = tomte[liccheck,cli]==0.2.14
commands =
tomte freeze-dependencies --output-path {envtmpdir}/requirements.txt
liccheck -s tox.ini -r {envtmpdir}/requirements.txt -l PARANOID
Expand Down

0 comments on commit 4cd68c2

Please sign in to comment.