Skip to content

Commit

Permalink
Merge pull request #670 from valory-xyz/release/v1.40.0
Browse files Browse the repository at this point in the history
Release v1.40.0
  • Loading branch information
angrybayblade authored Sep 26, 2023
2 parents c4be6cd + da78f5f commit 4fc02c1
Show file tree
Hide file tree
Showing 24 changed files with 45 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ disable=C0103,C0201,C0301,C0302,W0105,W0707,W1202,W1203,R0801,E1136,E0611,C0209,
# C0206: consider-using-dict-items

[IMPORTS]
ignored-modules=bech32,ecdsa,lru,eth_typing,eth_keys,eth_account,ipfshttpclient,werkzeug,openapi_spec_validator,aiohttp,multidict,yoti_python_sdk,defusedxml,gym,fetch,matplotlib,memory_profiler,numpy,oef,openapi_core,psutil,tensorflow,temper,skimage,web3,aioprometheus,pyaes,Crypto,asn1crypto,cosmpy,google,coverage,pylint,pytest,gitpython,protobuf,docker,signal,anchorpy,cryptography.fernet,solana,solders
ignored-modules=bech32,ecdsa,lru,eth_typing,eth_keys,eth_account,ipfshttpclient,werkzeug,openapi_spec_validator,aiohttp,multidict,yoti_python_sdk,defusedxml,gym,fetch,matplotlib,memory_profiler,numpy,oef,openapi_core,psutil,tensorflow,temper,skimage,web3,aioprometheus,pyaes,Crypto,asn1crypto,cosmpy,google,coverage,pylint,pytest,gitpython,protobuf,docker,signal,anchorpy,cryptography.fernet,solana,solders,flashbots,hexbytes

[DESIGN]
min-public-methods=1
Expand Down
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Release History - open AEA


## 1.40.0 (2023-09-26)

AEA:
- Removes the `web3py` fork as a dependency
- Bumps the protobuf to `protobuf>=4.21.6,<5.0.0`
- Updates protocol buffers compiler to `v24.3`
- Updates the protocol generator
- Removes unused layers from the user image and uses minimal python image as base

## 1.39.0.post1 (2023-09-21)

AEA:
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ The following table shows which versions of `open-aea` are currently being suppo

| Version | Supported |
| --------- | ------------------ |
| `1.39.x` | :white_check_mark: |
| `< 1.39.0.post1` | :x: |
| `1.40.x` | :white_check_mark: |
| `< 1.40.0` | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion aea/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.39.0.post1"
__version__ = "1.40.0"
__author__ = "Valory AG"
__license__ = "Apache-2.0"
__copyright__ = "2021 Valory AG, 2019 Fetch.AI Limited"
2 changes: 1 addition & 1 deletion deploy-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.39.0.post1 "open-aea-cli-ipfs<2.0.0,>=1.39.0.post1"
RUN pip install --upgrade --force-reinstall open-aea[all]==1.40.0 "open-aea-cli-ipfs<2.0.0,>=1.40.0"

# directories and aea cli config
WORKDIR /home/agents
Expand Down
2 changes: 1 addition & 1 deletion deploy-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.39.0.post1/packages packages
svn checkout https://github.com/valory-xyz/open-aea/tags/v1.40.0/packages packages
```

### Modify scripts
Expand Down
2 changes: 1 addition & 1 deletion develop-image/docker-env.sh
Original file line number Diff line number Diff line change
@@ -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.39.0.post1
DOCKER_IMAGE_TAG=valory/open-aea-develop:1.40.0
# DOCKER_IMAGE_TAG=valory/open-aea-develop:latest

DOCKER_BUILD_CONTEXT_DIR=..
Expand Down
7 changes: 7 additions & 0 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Below we describe the additional manual steps required to upgrade between differ

### Upgrade guide

## `v1.39.0.post1` to `v1.40.0`

- `open-aea-web3` has been replaced with `web3py`
- `protobuf` has been bumped to `protobuf>=4.21.6,<5.0.0`, this means you will have to bump your protocol generator to `v24.3` and generate your protocol packages again.
- Because of the protobuf version bump hardware wallet plugin might now work as expected, so please export `PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION="python"` to use the hardware wallet without any issues
- The `valory/open-aea-user` image will use Python 3.11 as default interpreter for running AEAs

## `v1.39.0` to `v1.39.0.post1`

- No backwards incompatible changes
Expand Down
2 changes: 1 addition & 1 deletion examples/tac_deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 open-aea[all]==1.39.0.post1
RUN pip install --upgrade --force-reinstall open-aea[all]==1.40.0

# directories and aea cli config
COPY /.aea /home/.aea
Expand Down
2 changes: 1 addition & 1 deletion plugins/aea-cli-benchmark/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name="open-aea-cli-benchmark",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="CLI extension for AEA framework benchmarking.",
Expand Down
2 changes: 1 addition & 1 deletion plugins/aea-cli-ipfs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name="open-aea-cli-ipfs",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="CLI extension for open AEA framework wrapping IPFS functionality.",
Expand Down
2 changes: 1 addition & 1 deletion plugins/aea-ledger-cosmos/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name="open-aea-ledger-cosmos",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="Python package wrapping the public and private key cryptography and ledger api of Cosmos.",
Expand Down
4 changes: 2 additions & 2 deletions plugins/aea-ledger-ethereum-flashbots/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

setup(
name="open-aea-ledger-ethereum-flashbots",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="Python package extending the default open-aea ethereum ledger plugin to add support for flashbots.",
Expand All @@ -41,7 +41,7 @@
},
python_requires=">=3.9,<4.0",
install_requires=[
"open-aea-ledger-ethereum~=1.39.0",
"open-aea-ledger-ethereum~=1.40.0",
"open-aea-flashbots==1.4.0",
],
tests_require=["pytest"],
Expand Down
4 changes: 2 additions & 2 deletions plugins/aea-ledger-ethereum-hwi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

setup(
name="open-aea-ledger-ethereum-hwi",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="Python package wrapping the public and private key cryptography and support for hardware wallet interactions.",
Expand All @@ -42,7 +42,7 @@
"web3>=6.0.0,<7",
"ipfshttpclient==0.8.0a2",
"eth-account>=0.8.0,<0.9.0",
"open-aea-ledger-ethereum~=1.39.0.post1",
"open-aea-ledger-ethereum~=1.40.0",
"ledgerwallet==0.1.3",
"protobuf>=4.21.6,<5.0.0",
"construct<=2.10.61",
Expand Down
2 changes: 1 addition & 1 deletion plugins/aea-ledger-ethereum/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name="open-aea-ledger-ethereum",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="Python package wrapping the public and private key cryptography and ledger api of Ethereum.",
Expand Down
4 changes: 2 additions & 2 deletions plugins/aea-ledger-fetchai/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

setup(
name="open-aea-ledger-fetchai",
version="1.39.0.post1",
version="1.40.0",
author="Valory AG",
license="Apache-2.0",
description="Python package wrapping the public and private key cryptography and ledger API of Fetch.AI.",
Expand All @@ -44,7 +44,7 @@
"test_tools/data/*",
]
},
install_requires=["open-aea-ledger-cosmos~=1.39.0.post1"],
install_requires=["open-aea-ledger-cosmos~=1.40.0"],
tests_require=["pytest"],
entry_points={
"aea.cryptos": ["fetchai = aea_ledger_fetchai:FetchAICrypto"],
Expand Down
2 changes: 1 addition & 1 deletion plugins/aea-ledger-solana/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

setup(
name="open-aea-ledger-solana",
version="1.39.0.post1",
version="1.40.0",
author="dassy23",
license="Apache-2.0",
description="Python package wrapping the public and private key cryptography and ledger api of solana.",
Expand Down
1 change: 1 addition & 0 deletions scripts/check_pipfile_and_toxini.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"memory-profiler",
"apduboy",
"matplotlib",
"open-aea-flashbots",
}


Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function instal_choco_golang_gcc {
}
function install_aea {
echo "Install aea"
$output=pip install open-aea[all]==1.39.0.post1 --force --no-cache-dir 2>&1 |out-string;
$output=pip install open-aea[all]==1.40.0 --force --no-cache-dir 2>&1 |out-string;
if ($LastExitCode -ne 0) {
echo $output
echo "AEA install failed!"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function is_python_version_ok() {

function install_aea (){
echo "Install AEA"
output=$(pip3 install --user open-aea[all]==1.39.0.post1 --force --no-cache-dir)
output=$(pip3 install --user open-aea[all]==1.40.0 --force --no-cache-dir)
if [[ $? -ne 0 ]];
then
echo "$output"
Expand Down
4 changes: 2 additions & 2 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
build:
tagPolicy:
envTemplate:
template: "1.39.0.post1"
template: "1.40.0"
artifacts:
- image: valory/open-aea-develop
docker:
Expand All @@ -24,7 +24,7 @@ profiles:
build:
tagPolicy:
envTemplate:
template: "1.39.0.post1"
template: "1.40.0"
artifacts:
- image: valory/open-aea-docs
docker:
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ commands =
deps =
{[tests-common]deps}
pytest-custom-exit-code==0.3.0
open-aea-flashbots==1.4.0
commands =
{[commands-local-install]commands}
pytest -rfE plugins/aea-ledger-fetchai/tests --durations=0 --cov-report=html --cov-report=xml --cov-report=term --cov-report=term-missing --cov=aea_ledger_fetchai --cov-config=.coveragerc --suppress-no-test-exit-code --cov-append {posargs}
Expand All @@ -125,7 +126,7 @@ commands =
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-ethereum-hwi
pytest -rfE plugins/aea-ledger-ethereum-hwi/tests --durations=0 --cov-report=html --cov-report=xml --cov-report=term --cov-report=term-missing --cov=aea_ledger_ethereum_hwi --cov-config=.coveragerc --suppress-no-test-exit-code --cov-append {posargs}

python -m pip install file://{toxinidir}/plugins/aea-ledger-ethereum-flashbots
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-ethereum-flashbots
pytest -rfE plugins/aea-ledger-ethereum-flashbots/tests --durations=0 --cov-report=html --cov-report=xml --cov-report=term --cov-report=term-missing --cov=aea_ledger_ethereum_flashbots --cov-config=.coveragerc --suppress-no-test-exit-code --cov-append {posargs}

python -m pip install file://{toxinidir}/plugins/aea-ledger-solana
Expand Down Expand Up @@ -316,7 +317,7 @@ deps =
tomte[pylint]==0.2.13
commands =
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-ethereum
python -m pip install file://{toxinidir}/plugins/aea-ledger-ethereum-flashbots
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-ethereum-flashbots
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-cosmos
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-fetchai
python -m pip install --no-deps file://{toxinidir}/plugins/aea-ledger-solana
Expand Down
2 changes: 1 addition & 1 deletion user-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV LANG C.UTF-8
RUN apt update && apt install -y python3.11-dev python3-pip -y && apt autoremove && apt autoclean

RUN pip3 install --upgrade pip
RUN pip3 install "open-aea[all]==1.39.0.post1" open-aea-cli-ipfs==1.39.0.post1
RUN pip3 install "open-aea[all]==1.40.0" open-aea-cli-ipfs==1.40.0

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

Expand Down
2 changes: 1 addition & 1 deletion user-image/docker-env.sh
Original file line number Diff line number Diff line change
@@ -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.39.0.post1
DOCKER_IMAGE_TAG=valory/open-aea-user:1.40.0
# DOCKER_IMAGE_TAG=valory/open-aea-user:latest

DOCKER_BUILD_CONTEXT_DIR=..
Expand Down

0 comments on commit 4fc02c1

Please sign in to comment.