Skip to content

Commit 1fb5f4e

Browse files
Merge pull request #685 from valory-xyz/fix/ledger-connection
Release `1.41.0.post1`
2 parents 099751e + 9ddb649 commit 1fb5f4e

File tree

31 files changed

+50
-40
lines changed

31 files changed

+50
-40
lines changed

.spelling

+2-1
Original file line numberDiff line numberDiff line change
@@ -378,4 +378,5 @@ cosmpy
378378
tomte
379379
pyyaml
380380
1.36.0
381-
1.39.0.post1
381+
1.39.0.post1
382+
1.41.0.post1

HISTORY.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# Release History - open AEA
22

33

4-
## 1.40.0 (2023-09-26)
4+
## 1.41.0.post1 (2023-10-23)
5+
6+
Packages:
7+
- Use `kwargs.pop` instead of `kwargs.get` to avoid extra argument error on ledger connection
8+
9+
## 1.41.0 (2023-10-10)
510

611
AEA:
712
- Fixes the source repository validation regex

Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pytest-custom-exit-code = "==0.3.0"
3838
GitPython = "==3.1.27"
3939
requests = "==2.28.1"
4040
idna = "<=3.3"
41-
open-aea-cosmpy = "==0.6.6"
41+
open-aea-cosmpy = "==0.6.7"
4242
web3 = ">=6.0.0,<7"
4343
semver = "<3.0.0,>=2.9.1"
4444
py-multibase = ">=1.0.0"

aea/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__title__ = "open-aea"
2424
__description__ = "Open Autonomous Economic Agent framework (without vendor lock-in)"
2525
__url__ = "https://github.com/valory-xyz/open-aea.git"
26-
__version__ = "1.41.0"
26+
__version__ = "1.41.0.post1"
2727
__author__ = "Valory AG"
2828
__license__ = "Apache-2.0"
2929
__copyright__ = "2021 Valory AG, 2019 Fetch.AI Limited"

deploy-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apk add --no-cache go
1616

1717
# aea installation
1818
RUN pip install --upgrade pip
19-
RUN pip install --upgrade --force-reinstall open-aea[all]==1.41.0 "open-aea-cli-ipfs<2.0.0,>=1.41.0"
19+
RUN pip install --upgrade --force-reinstall open-aea[all]==1.41.0.post1 "open-aea-cli-ipfs<2.0.0,>=1.41.0.post1"
2020

2121
# directories and aea cli config
2222
WORKDIR /home/agents

deploy-image/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The example uses the `fetchai/my_first_aea` project. You will likely want to mod
1111
Install subversion, then download the example directory to your local working directory
1212

1313
``` bash
14-
svn checkout https://github.com/valory-xyz/open-aea/tags/v1.41.0/packages packages
14+
svn checkout https://github.com/valory-xyz/open-aea/tags/v1.41.0.post1/packages packages
1515
```
1616

1717
### Modify scripts

develop-image/docker-env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Swap the following lines if you want to work with 'latest'
4-
DOCKER_IMAGE_TAG=valory/open-aea-develop:1.41.0
4+
DOCKER_IMAGE_TAG=valory/open-aea-develop:1.41.0.post1
55
# DOCKER_IMAGE_TAG=valory/open-aea-develop:latest
66

77
DOCKER_BUILD_CONTEXT_DIR=..

docs/upgrading.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Below we describe the additional manual steps required to upgrade between differ
99

1010
### Upgrade guide
1111

12+
## `v1.41.0` to `v1.41.0.post1`
13+
14+
- No backwards incompatible changes
15+
1216
## `v1.40.0` to `v1.41.0`
1317

1418
- The way the dependencies will be selected for installation when running `aea install` has changed. Before this version, the versions were being merging all of the versions for a python package and using the most compatible version specifier possible. With this release, this behaviour will be replaced by overriding the dependencies in the following order `extra dependencies provided by flag > agent > skill > connection > contract > protocol` what this means is, let's say you have 3 packages with a same python package as a dependency

examples/tac_deploy/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apk add --no-cache go
1919

2020
# aea installation
2121
RUN python -m pip install --upgrade pip
22-
RUN pip install --upgrade --force-reinstall open-aea[all]==1.41.0
22+
RUN pip install --upgrade --force-reinstall open-aea[all]==1.41.0.post1
2323

2424
# directories and aea cli config
2525
COPY /.aea /home/.aea

packages/fetchai/skills/erc1155_client/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fingerprint:
2121
tests/test_strategy.py: bafybeicbxie3v6vue3gcnru6vsvggcgy3shxwrldis5gppizbuhooslcqa
2222
fingerprint_ignore_patterns: []
2323
connections:
24-
- valory/ledger:0.19.0:bafybeigo5vst3zlltkouenwxuzn6c47yr2fbbml6dl2o32rfnsezmalgnu
24+
- valory/ledger:0.19.0:bafybeigdckv3e6bz6kfloz4ucqrsufft6k4jp6bwkbbcvh4fxvgbmzq3dm
2525
contracts:
2626
- fetchai/erc1155:0.22.0:bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4
2727
protocols:

packages/fetchai/skills/erc1155_deploy/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fingerprint:
2121
tests/test_strategy.py: bafybeigxtw2j2c7vl6xhdwos62jbtmx62xfgdyadptm5eewmkesmcooyea
2222
fingerprint_ignore_patterns: []
2323
connections:
24-
- valory/ledger:0.19.0:bafybeigo5vst3zlltkouenwxuzn6c47yr2fbbml6dl2o32rfnsezmalgnu
24+
- valory/ledger:0.19.0:bafybeigdckv3e6bz6kfloz4ucqrsufft6k4jp6bwkbbcvh4fxvgbmzq3dm
2525
contracts:
2626
- fetchai/erc1155:0.22.0:bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4
2727
protocols:

packages/fetchai/skills/generic_buyer/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fingerprint:
1919
tests/test_models.py: bafybeibh72j3n72yseqvmpppucpu5wtidf6ebxbxkfnmrnlh4zv5y5apei
2020
fingerprint_ignore_patterns: []
2121
connections:
22-
- valory/ledger:0.19.0:bafybeigo5vst3zlltkouenwxuzn6c47yr2fbbml6dl2o32rfnsezmalgnu
22+
- valory/ledger:0.19.0:bafybeigdckv3e6bz6kfloz4ucqrsufft6k4jp6bwkbbcvh4fxvgbmzq3dm
2323
contracts: []
2424
protocols:
2525
- fetchai/default:1.0.0:bafybeibtqp56jkijwjsohk4z5vqp6pfkiexmnmk5uleteotbsgrypy6gxm

packages/fetchai/skills/generic_seller/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fingerprint:
2020
tests/test_models.py: bafybeihabrc22zqssit3fmqhxptosy6qz6mx65ukhf5iayvirfv42xrhoq
2121
fingerprint_ignore_patterns: []
2222
connections:
23-
- valory/ledger:0.19.0:bafybeigo5vst3zlltkouenwxuzn6c47yr2fbbml6dl2o32rfnsezmalgnu
23+
- valory/ledger:0.19.0:bafybeigdckv3e6bz6kfloz4ucqrsufft6k4jp6bwkbbcvh4fxvgbmzq3dm
2424
contracts: []
2525
protocols:
2626
- fetchai/default:1.0.0:bafybeibtqp56jkijwjsohk4z5vqp6pfkiexmnmk5uleteotbsgrypy6gxm

packages/packages.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"protocol/valory/http/1.0.0": "bafybeiejoqgv7finfxo3rcvvovrlj5ccrbgxodjq43uo26ylpowsa3llfe",
99
"protocol/valory/ledger_api/1.0.0": "bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru",
1010
"connection/fetchai/stub/0.21.0": "bafybeictgpdqbpyppmoxn2g7jkaxvulihew7zaszv4xyhgvsntq7tqs7wi",
11-
"connection/valory/ledger/0.19.0": "bafybeigo5vst3zlltkouenwxuzn6c47yr2fbbml6dl2o32rfnsezmalgnu",
11+
"connection/valory/ledger/0.19.0": "bafybeigdckv3e6bz6kfloz4ucqrsufft6k4jp6bwkbbcvh4fxvgbmzq3dm",
1212
"connection/valory/http_server/0.22.0": "bafybeie3d6tj2kzewced4nnttxdvr7njue2ortvawmwdt67gwf4tcuosom",
1313
"connection/valory/p2p_libp2p/0.1.0": "bafybeiaykya7tvir7k5scovjzuagpfcftvptxoi2od5qqqvukwglsrrtzy",
1414
"connection/valory/p2p_libp2p_client/0.1.0": "bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq",
@@ -32,12 +32,12 @@
3232
"connection/valory/http_client/0.23.0": "bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny",
3333
"connection/valory/test_libp2p/0.1.0": "bafybeih4vz7pprbjhe5g4tnf52ttkooii66woxbhifjc7wk5xdt6b6asiu",
3434
"protocol/fetchai/tac/1.0.0": "bafybeiaukfwe7wbpikztprlmrfpphsxqpdzgamkbhvqyz54tl3k73kzsvi",
35-
"skill/fetchai/erc1155_client/0.28.0": "bafybeibffkywiuz5gwm6yn4v2fhkz35i77zl5ya4tzq4wksvga2mvkeojm",
36-
"skill/fetchai/erc1155_deploy/0.30.0": "bafybeif6dmam4pvsdesvgb6n3ga4uf7dxikaynbqomxpswmhqlvcuz7vti",
35+
"skill/fetchai/erc1155_client/0.28.0": "bafybeid3npgiuvgjyocxtxl6ovihrnicd5ezlim4aq4ytl3atnm5yywxmu",
36+
"skill/fetchai/erc1155_deploy/0.30.0": "bafybeie2lqwsqgpv35uy7nztohtukvogntsxqi74x37qsbsx7drgeajtau",
3737
"skill/fetchai/error/0.17.0": "bafybeignei6feootyjzrqdt5j5yx7r4nrzuy6tdgdgsmrncldt5bud2dri",
3838
"skill/fetchai/fipa_dummy_buyer/0.2.0": "bafybeid7rzqruvc3fkesueig2mbzy2qsfplieircyjzwbdl7c6q5eauiky",
39-
"skill/fetchai/generic_buyer/0.26.0": "bafybeiebwhfzs7vbdrnm7cqu5dc4r3wqdaeirmps5pfwexjd3ms5ss7xk4",
40-
"skill/fetchai/generic_seller/0.27.0": "bafybeiapnkdtn3qrh36cxpbhalv2yaunnauieo7sxori46a7ohsp7xuzlq",
39+
"skill/fetchai/generic_buyer/0.26.0": "bafybeibiplanh6h2biy27wt26jnzwftfsji77ajp26hcule5q2acjq3fjy",
40+
"skill/fetchai/generic_seller/0.27.0": "bafybeiboyk6q2sl6rdqvcksbg4gnfb766vpexrdcgjmxzm3kjmcsjnsvia",
4141
"skill/fetchai/task_test_skill/0.1.0": "bafybeidv77u2xl52mnxakwvh7fuh46aiwfpteyof4eaptfd4agoi6cdble"
4242
},
4343
"third_party": {}

packages/valory/connections/ledger/connection.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ fingerprint:
1010
__init__.py: bafybeia3purd7y4b7tkdt2fcaxkdazos32criq5hx6fhufaislrdefe674
1111
base.py: bafybeifuoq2oqlcjlgeg2fg5l2ijiylb23v65xghv7u422helief2cjjuy
1212
connection.py: bafybeicydkymhz2feqmihtkiwdfg7pp4pww2elqv4tijuhjcplyvawdk74
13-
contract_dispatcher.py: bafybeifm5n2nh3z7cr47h2ejs4zu47s6uxliuvaacndxwt6sdcvbqwmpqa
14-
ledger_dispatcher.py: bafybeigeziwsrriamjycjwu6qri2vervgbta7xkludnae2fzqqegwp6d5e
13+
contract_dispatcher.py: bafybeidf2wu3rsp5pm45qwjlievbpmueeaj6hjw3kdyn67xhbocylwg3d4
14+
ledger_dispatcher.py: bafybeicartiu3mcavtyd3eveonrbak3uaowqzymtaza6gqtoi5msid75ci
1515
tests/__init__.py: bafybeifku7ttsmbj4gfx6dkgjvwypx7v5ysfqlzof6vh4p7gujakjtuwhe
1616
tests/conftest.py: bafybeid7vo7e2m76ey5beeadtbxywxx5ukefd5slwbc362rwmhht6i45ou
1717
tests/test_contract_dispatcher.py: bafybeiag5lnpc7h25w23ash4hk4cowxsy5buxgpr474l3tfewnhf56eqyq

packages/valory/connections/ledger/contract_dispatcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def get_chain_id(self, message: Message) -> str:
431431
kwargs = cast(JSONLike, message.kwargs.body)
432432
# if the chain id is specified in the message, use it.
433433
# otherwise, use the ledger id.
434-
chain_id = cast(str, kwargs.get("chain_id", self.get_ledger_id(message)))
434+
chain_id = cast(str, kwargs.pop("chain_id", self.get_ledger_id(message)))
435435
return chain_id
436436

437437
def set_extra_kwargs(self, message: Message) -> None:

packages/valory/connections/ledger/ledger_dispatcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,5 +470,5 @@ def get_chain_id(self, message: Message) -> str:
470470
kwargs = cast(JSONLike, message.kwargs.body)
471471
# if the chain id is specified in the message, use it.
472472
# otherwise, use the ledger id.
473-
chain_id = cast(str, kwargs.get("chain_id", self.get_ledger_id(message)))
473+
chain_id = cast(str, kwargs.pop("chain_id", self.get_ledger_id(message)))
474474
return chain_id

plugins/aea-cli-benchmark/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="open-aea-cli-benchmark",
29-
version="1.41.0",
29+
version="1.41.0.post1",
3030
author="Valory AG",
3131
license="Apache-2.0",
3232
description="CLI extension for AEA framework benchmarking.",

plugins/aea-cli-ipfs/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
setup(
3030
name="open-aea-cli-ipfs",
31-
version="1.41.0",
31+
version="1.41.0.post1",
3232
author="Valory AG",
3333
license="Apache-2.0",
3434
description="CLI extension for open AEA framework wrapping IPFS functionality.",

plugins/aea-ledger-cosmos/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="open-aea-ledger-cosmos",
29-
version="1.41.0",
29+
version="1.41.0.post1",
3030
author="Valory AG",
3131
license="Apache-2.0",
3232
description="Python package wrapping the public and private key cryptography and ledger api of Cosmos.",
@@ -43,7 +43,7 @@
4343
"ecdsa>=0.15,<0.17.0",
4444
"bech32==1.2.0",
4545
"pycryptodome>=3.10.1,<4.0.0",
46-
"open-aea-cosmpy==0.6.6",
46+
"open-aea-cosmpy==0.6.7",
4747
],
4848
tests_require=["pytest"],
4949
entry_points={

plugins/aea-ledger-ethereum-flashbots/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name="open-aea-ledger-ethereum-flashbots",
28-
version="1.41.0",
28+
version="1.41.0.post1",
2929
author="Valory AG",
3030
license="Apache-2.0",
3131
description="Python package extending the default open-aea ethereum ledger plugin to add support for flashbots.",
@@ -41,7 +41,7 @@
4141
},
4242
python_requires=">=3.9,<4.0",
4343
install_requires=[
44-
"open-aea-ledger-ethereum~=1.41.0",
44+
"open-aea-ledger-ethereum~=1.41.0.post1",
4545
"open-aea-flashbots==1.4.0",
4646
],
4747
tests_require=["pytest"],

plugins/aea-ledger-ethereum-hwi/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name="open-aea-ledger-ethereum-hwi",
28-
version="1.41.0",
28+
version="1.41.0.post1",
2929
author="Valory AG",
3030
license="Apache-2.0",
3131
description="Python package wrapping the public and private key cryptography and support for hardware wallet interactions.",
@@ -42,7 +42,7 @@
4242
"web3>=6.0.0,<7",
4343
"ipfshttpclient==0.8.0a2",
4444
"eth-account>=0.8.0,<0.9.0",
45-
"open-aea-ledger-ethereum~=1.41.0",
45+
"open-aea-ledger-ethereum~=1.41.0.post1",
4646
"ledgerwallet==0.1.3",
4747
"protobuf>=4.21.6,<5.0.0",
4848
"construct<=2.10.61",

plugins/aea-ledger-ethereum/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="open-aea-ledger-ethereum",
29-
version="1.41.0",
29+
version="1.41.0.post1",
3030
author="Valory AG",
3131
license="Apache-2.0",
3232
description="Python package wrapping the public and private key cryptography and ledger api of Ethereum.",

plugins/aea-ledger-fetchai/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
setup(
3333
name="open-aea-ledger-fetchai",
34-
version="1.41.0",
34+
version="1.41.0.post1",
3535
author="Valory AG",
3636
license="Apache-2.0",
3737
description="Python package wrapping the public and private key cryptography and ledger API of Fetch.AI.",
@@ -44,7 +44,7 @@
4444
"test_tools/data/*",
4545
]
4646
},
47-
install_requires=["open-aea-ledger-cosmos~=1.41.0"],
47+
install_requires=["open-aea-ledger-cosmos~=1.41.0.post1"],
4848
tests_require=["pytest"],
4949
entry_points={
5050
"aea.cryptos": ["fetchai = aea_ledger_fetchai:FetchAICrypto"],

plugins/aea-ledger-solana/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
setup(
2727
name="open-aea-ledger-solana",
28-
version="1.41.0",
28+
version="1.41.0.post1",
2929
author="dassy23",
3030
license="Apache-2.0",
3131
description="Python package wrapping the public and private key cryptography and ledger api of solana.",

scripts/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function instal_choco_golang_gcc {
3434
}
3535
function install_aea {
3636
echo "Install aea"
37-
$output=pip install open-aea[all]==1.41.0 --force --no-cache-dir 2>&1 |out-string;
37+
$output=pip install open-aea[all]==1.41.0.post1 --force --no-cache-dir 2>&1 |out-string;
3838
if ($LastExitCode -ne 0) {
3939
echo $output
4040
echo "AEA install failed!"

scripts/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function is_python_version_ok() {
4242

4343
function install_aea (){
4444
echo "Install AEA"
45-
output=$(pip3 install --user open-aea[all]==1.41.0 --force --no-cache-dir)
45+
output=$(pip3 install --user open-aea[all]==1.41.0.post1 --force --no-cache-dir)
4646
if [[ $? -ne 0 ]];
4747
then
4848
echo "$output"

skaffold.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
build:
66
tagPolicy:
77
envTemplate:
8-
template: "1.41.0"
8+
template: "1.41.0.post1"
99
artifacts:
1010
- image: valory/open-aea-develop
1111
docker:
@@ -24,7 +24,7 @@ profiles:
2424
build:
2525
tagPolicy:
2626
envTemplate:
27-
template: "1.41.0"
27+
template: "1.41.0.post1"
2828
artifacts:
2929
- image: valory/open-aea-docs
3030
docker:

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ deps =
4949
eth-account>=0.8.0,<0.9.0
5050
; for password encryption in cosmos
5151
pycryptodome>=3.10.1
52-
open-aea-cosmpy==0.6.6
52+
open-aea-cosmpy==0.6.7
5353
certifi<=2022.6.15.1
5454
google-api-python-client<=2.60.0
5555
idna<=3.3

user-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV LANG C.UTF-8
77
RUN apt update && apt install -y python3.11-dev python3-pip -y && apt autoremove && apt autoclean
88

99
RUN pip3 install --upgrade pip
10-
RUN pip3 install "open-aea[all]==1.41.0" open-aea-cli-ipfs==1.41.0
10+
RUN pip3 install "open-aea[all]==1.41.0.post1" open-aea-cli-ipfs==1.41.0.post1
1111

1212
COPY user-image/openssl.cnf /etc/ssl
1313

user-image/docker-env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Swap the following lines if you want to work with 'latest'
4-
DOCKER_IMAGE_TAG=valory/open-aea-user:1.41.0
4+
DOCKER_IMAGE_TAG=valory/open-aea-user:1.41.0.post1
55
# DOCKER_IMAGE_TAG=valory/open-aea-user:latest
66

77
DOCKER_BUILD_CONTEXT_DIR=..

0 commit comments

Comments
 (0)