From 642bd6e5053c308751a173d37ad0cb4194bf3c3b Mon Sep 17 00:00:00 2001 From: Viraj Patel Date: Tue, 1 Nov 2022 18:27:42 +0530 Subject: [PATCH 1/5] feat: bump open-aea to v1.22.0 --- aea/__version__.py | 2 +- deploy-image/Dockerfile | 2 +- deploy-image/README.md | 2 +- develop-image/docker-env.sh | 2 +- examples/tac_deploy/Dockerfile | 2 +- scripts/install.ps1 | 2 +- scripts/install.sh | 2 +- skaffold.yaml | 4 ++-- tests/test_docs/test_bash_yaml/md_files/bash-quickstart.md | 2 +- user-image/docker-env.sh | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/aea/__version__.py b/aea/__version__.py index 2a9a0289cf..a7e59927be 100644 --- a/aea/__version__.py +++ b/aea/__version__.py @@ -23,7 +23,7 @@ __title__ = "open-aea" __description__ = "Open Autonomous Economic Agent framework (without vendor lock-in)" __url__ = "https://github.com/valory-xyz/open-aea.git" -__version__ = "1.21.0" +__version__ = "1.22.0" __author__ = "Valory AG" __license__ = "Apache-2.0" __copyright__ = "2021 Valory AG, 2019 Fetch.AI Limited" diff --git a/deploy-image/Dockerfile b/deploy-image/Dockerfile index 4ea5cf5207..edf715dbf1 100644 --- a/deploy-image/Dockerfile +++ b/deploy-image/Dockerfile @@ -16,7 +16,7 @@ RUN apk add --no-cache go # aea installation RUN pip install --upgrade pip -RUN pip install --upgrade --force-reinstall open-aea[all]==1.21.0 "open-aea-cli-ipfs<2.0.0,>=1.21.0" +RUN pip install --upgrade --force-reinstall open-aea[all]==1.22.0 "open-aea-cli-ipfs<2.0.0,>=1.21.0" # directories and aea cli config WORKDIR /home/agents diff --git a/deploy-image/README.md b/deploy-image/README.md index 48feae5694..d00369732d 100644 --- a/deploy-image/README.md +++ b/deploy-image/README.md @@ -11,7 +11,7 @@ The example uses the `fetchai/my_first_aea` project. You will likely want to mod Install subversion, then download the example directory to your local working directory ``` bash -svn checkout https://github.com/valory-xyz/open-aea/tags/v1.21.0/packages packages +svn checkout https://github.com/valory-xyz/open-aea/tags/v1.22.0/packages packages ``` ### Modify scripts diff --git a/develop-image/docker-env.sh b/develop-image/docker-env.sh index 5cef5c0c7e..432db74b79 100755 --- a/develop-image/docker-env.sh +++ b/develop-image/docker-env.sh @@ -1,7 +1,7 @@ #!/bin/bash # Swap the following lines if you want to work with 'latest' -DOCKER_IMAGE_TAG=valory/open-aea-develop:1.21.0 +DOCKER_IMAGE_TAG=valory/open-aea-develop:1.22.0 # DOCKER_IMAGE_TAG=valory/open-aea-develop:latest DOCKER_BUILD_CONTEXT_DIR=.. diff --git a/examples/tac_deploy/Dockerfile b/examples/tac_deploy/Dockerfile index f65d63a479..7c60d53374 100644 --- a/examples/tac_deploy/Dockerfile +++ b/examples/tac_deploy/Dockerfile @@ -19,7 +19,7 @@ RUN apk add --no-cache go # aea installation RUN python -m pip install --upgrade pip -RUN pip install --upgrade --force-reinstall aea[all]==1.21.0 +RUN pip install --upgrade --force-reinstall aea[all]==1.22.0 # directories and aea cli config COPY /.aea /home/.aea diff --git a/scripts/install.ps1 b/scripts/install.ps1 index a32f81bd11..a9401987b8 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -34,7 +34,7 @@ function instal_choco_golang_gcc { } function install_aea { echo "Install aea" - $output=pip install open-aea[all]==1.21.0 --force --no-cache-dir 2>&1 |out-string; + $output=pip install open-aea[all]==1.22.0 --force --no-cache-dir 2>&1 |out-string; if ($LastExitCode -ne 0) { echo $output echo "AEA install failed!" diff --git a/scripts/install.sh b/scripts/install.sh index b831f056b3..6afa2da92c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -42,7 +42,7 @@ function is_python_version_ok() { function install_aea (){ echo "Install AEA" - output=$(pip3 install --user open-aea[all]==1.21.0 --force --no-cache-dir) + output=$(pip3 install --user open-aea[all]==1.22.0 --force --no-cache-dir) if [[ $? -ne 0 ]]; then echo "$output" diff --git a/skaffold.yaml b/skaffold.yaml index 59db2346d8..bd9492235b 100644 --- a/skaffold.yaml +++ b/skaffold.yaml @@ -5,7 +5,7 @@ metadata: build: tagPolicy: envTemplate: - template: "1.21.0" + template: "1.22.0" artifacts: - image: valory/open-aea-develop docker: @@ -24,7 +24,7 @@ profiles: build: tagPolicy: envTemplate: - template: "1.21.0" + template: "1.22.0" artifacts: - image: valory/open-aea-docs docker: diff --git a/tests/test_docs/test_bash_yaml/md_files/bash-quickstart.md b/tests/test_docs/test_bash_yaml/md_files/bash-quickstart.md index fff1033541..6afcd01d06 100644 --- a/tests/test_docs/test_bash_yaml/md_files/bash-quickstart.md +++ b/tests/test_docs/test_bash_yaml/md_files/bash-quickstart.md @@ -44,7 +44,7 @@ pip install open-aea[all] pip install open-aea-cli-ipfs ``` ``` -svn checkout https://github.com/valory-xyz/open-aea/tags/v1.21.0/packages packages +svn checkout https://github.com/valory-xyz/open-aea/tags/v1.22.0/packages packages ``` ``` bash diff --git a/user-image/docker-env.sh b/user-image/docker-env.sh index 42035b66ba..567ceb114c 100644 --- a/user-image/docker-env.sh +++ b/user-image/docker-env.sh @@ -1,7 +1,7 @@ #!/bin/bash # Swap the following lines if you want to work with 'latest' -DOCKER_IMAGE_TAG=valory/open-aea-user:1.21.0 +DOCKER_IMAGE_TAG=valory/open-aea-user:1.22.0 # DOCKER_IMAGE_TAG=valory/open-aea-user:latest DOCKER_BUILD_CONTEXT_DIR=.. From 780a7b387d148ca6a30d73036f569e74b26976b7 Mon Sep 17 00:00:00 2001 From: Viraj Patel Date: Tue, 1 Nov 2022 18:28:37 +0530 Subject: [PATCH 2/5] feat: bump plugins to v1.22.0 --- deploy-image/Dockerfile | 2 +- plugins/aea-cli-benchmark/setup.py | 2 +- plugins/aea-cli-ipfs/setup.py | 2 +- plugins/aea-ledger-cosmos/setup.py | 2 +- plugins/aea-ledger-ethereum/setup.py | 2 +- plugins/aea-ledger-fetchai/setup.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy-image/Dockerfile b/deploy-image/Dockerfile index edf715dbf1..8c381167af 100644 --- a/deploy-image/Dockerfile +++ b/deploy-image/Dockerfile @@ -16,7 +16,7 @@ RUN apk add --no-cache go # aea installation RUN pip install --upgrade pip -RUN pip install --upgrade --force-reinstall open-aea[all]==1.22.0 "open-aea-cli-ipfs<2.0.0,>=1.21.0" +RUN pip install --upgrade --force-reinstall open-aea[all]==1.22.0 "open-aea-cli-ipfs<2.0.0,>=1.22.0" # directories and aea cli config WORKDIR /home/agents diff --git a/plugins/aea-cli-benchmark/setup.py b/plugins/aea-cli-benchmark/setup.py index 06209f6e4b..002d6cfbe6 100755 --- a/plugins/aea-cli-benchmark/setup.py +++ b/plugins/aea-cli-benchmark/setup.py @@ -26,7 +26,7 @@ setup( name="open-aea-cli-benchmark", - version="1.21.0", + version="1.22.0", author="Valory AG", license="Apache-2.0", description="CLI extension for AEA framework benchmarking.", diff --git a/plugins/aea-cli-ipfs/setup.py b/plugins/aea-cli-ipfs/setup.py index 2db9f29eda..09418c785c 100755 --- a/plugins/aea-cli-ipfs/setup.py +++ b/plugins/aea-cli-ipfs/setup.py @@ -28,7 +28,7 @@ setup( name="open-aea-cli-ipfs", - version="1.21.0", + version="1.22.0", author="Valory AG", license="Apache-2.0", description="CLI extension for open AEA framework wrapping IPFS functionality.", diff --git a/plugins/aea-ledger-cosmos/setup.py b/plugins/aea-ledger-cosmos/setup.py index 6fb828f218..f583803cdf 100644 --- a/plugins/aea-ledger-cosmos/setup.py +++ b/plugins/aea-ledger-cosmos/setup.py @@ -26,7 +26,7 @@ setup( name="open-aea-ledger-cosmos", - version="1.21.0", + version="1.22.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger api of Cosmos.", diff --git a/plugins/aea-ledger-ethereum/setup.py b/plugins/aea-ledger-ethereum/setup.py index 972b0cca61..788bd07427 100644 --- a/plugins/aea-ledger-ethereum/setup.py +++ b/plugins/aea-ledger-ethereum/setup.py @@ -26,7 +26,7 @@ setup( name="open-aea-ledger-ethereum", - version="1.21.0", + version="1.22.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger api of Ethereum.", diff --git a/plugins/aea-ledger-fetchai/setup.py b/plugins/aea-ledger-fetchai/setup.py index 2c9d78eb92..20bb1b29b7 100644 --- a/plugins/aea-ledger-fetchai/setup.py +++ b/plugins/aea-ledger-fetchai/setup.py @@ -31,7 +31,7 @@ setup( name="open-aea-ledger-fetchai", - version="1.21.0", + version="1.22.0", author="Valory AG", license="Apache-2.0", description="Python package wrapping the public and private key cryptography and ledger API of Fetch.AI.", From 907332065ba5e93d9464f8e1e3811af151438141 Mon Sep 17 00:00:00 2001 From: Viraj Patel Date: Tue, 1 Nov 2022 18:37:08 +0530 Subject: [PATCH 3/5] chore: release notes --- HISTORY.md | 29 +++++++++++++++++++++++++++++ SECURITY.md | 4 ++-- docs/upgrading.md | 7 ++++++- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 56aa712533..6325eb81df 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,34 @@ # Release History - open AEA +## 1.22.0 (2022-11-1) + +AEA: +- Updates the cert request serialisation process to maintain consistency across different operating systems +- Updates the `get_or_create_cli_config` method to return default config instead of creating one +- Introduces the `copy_class` utility function for testing different setup configurations +- Updates the overridable policies for the configuration classes + +Packages: +- Removes the unwanted autonomy dependency from the ledger connection + +Tests: +- Updates the cli config fixture to retain user config +- Fixes outbox check test +- Adds test coverage for + - `aea/cli` + - `aea/configurations` + - `aea/helpers` + - `aea/test_tools` + - `aea/manager` + +Docs: +- Adds documentation on the usage of component overrides + +Chores: +- Adds a script to automatically generate a package table for the docs +- Introduces the usage of `tomte` to maintain third party dependency version consistency +- Updates the script to check the broken links to use parallelization + ## 1.21.0 (2022-09-28) AEA: diff --git a/SECURITY.md b/SECURITY.md index 6b3e79767e..46ae5530e9 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,8 +8,8 @@ The following table shows which versions of `open-aea` are currently being suppo | Version | Supported | | --------- | ------------------ | -| `1.21.x` | :white_check_mark: | -| `< 1.21.0` | :x: | +| `1.22.x` | :white_check_mark: | +| `< 1.22.0` | :x: | ## Reporting a Vulnerability diff --git a/docs/upgrading.md b/docs/upgrading.md index 9340024bfd..8a26da6d67 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -7,8 +7,13 @@ Below we describe the additional manual steps required to upgrade between differ # Open AEA -## `v1.20.0` to `v1.21.0` +## `v1.21.0` to `v1.22.0` + +No backwards incompatible changes. +Plugins from previous versions are not compatible anymore. + +## `v1.20.0` to `v1.21.0` No backwards incompatible changes. From 2933c5b643b36237db8159b5da3b1365169c9d62 Mon Sep 17 00:00:00 2001 From: Viraj Patel Date: Tue, 1 Nov 2022 19:03:59 +0530 Subject: [PATCH 4/5] fix: release notes --- scripts/RELEASE_PROCESS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/RELEASE_PROCESS.md b/scripts/RELEASE_PROCESS.md index 7318a55952..1fe9ce9016 100644 --- a/scripts/RELEASE_PROCESS.md +++ b/scripts/RELEASE_PROCESS.md @@ -17,7 +17,7 @@ 7. Check the package upgrades are correct by running `python -m aea.cli check-packages` and `python scripts/check_package_versions_in_docs.py`. Commit if satisfied. -8. Check the docs are up-to-date by running `python scripts/generate_api_docs.py`, `python scripts/check_doc_ipfs_hashes.py --fix` and `python scripts/check_doc_links.py`. Ensure all links are configured `mkdocs serve`. Commit if satisfied. +8. Check the docs are up-to-date by running `tox -e generate-api-documentation`, `python scripts/check_doc_ipfs_hashes.py --fix` and `python scripts/check_doc_links.py`. Ensure all links are configured `mkdocs serve`. Commit if satisfied. 9. Ensure the signing protocol hash in open-aea is updated: `tests/test_configurations/test_constants.py::test_signing_protocol_hash` From f6a741cf2d7db4ebf8ba738d1f52b0e419aca1c9 Mon Sep 17 00:00:00 2001 From: Viraj Patel Date: Tue, 1 Nov 2022 19:04:13 +0530 Subject: [PATCH 5/5] chore: update pipfile - tox check script --- scripts/check_pipfile_and_toxini.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/check_pipfile_and_toxini.py b/scripts/check_pipfile_and_toxini.py index 0c9a978eb8..d744eeed94 100755 --- a/scripts/check_pipfile_and_toxini.py +++ b/scripts/check_pipfile_and_toxini.py @@ -39,8 +39,6 @@ "tomte[safety]": "==0.1.5", "tomte[vulture]": "==0.1.5", "tomte[darglint]": "==0.1.5", - "open-aea[all]": "==1.21.0.post1", - "open-aea-cli-ipfs": "==1.21.0", }