Skip to content

Commit

Permalink
Merge pull request #1411 from valory-xyz/release/v0.3.2
Browse files Browse the repository at this point in the history
Release v0.3.2
  • Loading branch information
DavidMinarsch authored Oct 11, 2022
2 parents 49c3c58 + c559bd5 commit a9675d0
Show file tree
Hide file tree
Showing 81 changed files with 522 additions and 1,320 deletions.
4 changes: 0 additions & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
[run]
omit =
*/.tox/*
# TODO: remove following 3 lines after testing ACN
packages/valory/connections/p2p_libp2p_client/*
packages/valory/protocols/acn/*
packages/valory/protocols/tendermint/*

[report]
exclude_lines =
Expand Down
36 changes: 36 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
# Release History - `open-autonomy`


# 0.3.2 (2022-09-30)

Autonomy:
- Fixes issues related to `IP/Host` resolving on windows
- Fixes several issues with dev mode to make it work again

Packages:
- Sets an initial fallback gas and propagates the logs

Docs:
- Address several doc issues, updates FAQ
- Updates scaffolding guide
- Splits `set up` section as a guide to be referenced commonly by the rest of guides
- Separates the deployment part to be in a separate section to be referenced when required
- Moves scaffolding contents to its appropriate place and rewrites some parts of the text
- Updates language in several docs
- Adds cost table and threat model to the docs
- Updates FAQ to use pure markdown
- Adds a link to our contract development guide

Chores:
- Extends the hash fixing script to also fix the hash table in the docs
- Simplifies linter configuration for `pylint`
- Bumps `open-aea` to 1.21.0
- Adds lock check for all platforms

Tests:
- Fixes APY tests after the `setup` and `setup_class` changes
- Fixes counter client behaviour tests.
- Fixes use os specific paths when comparing file names
- Fixes path resolution on Windows
- Fixes `TestTendermintBufferFailing` on windows
- Fixes pandas timestamps conversion to `UNIX`
- Increases `test_get_app_hash` sleep tolerance
- Avoids indirectly handle `NotFittedError`

# 0.3.1 (2022-09-20)

# Autonomy
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
include README.md LICENSE HISTORY.md AUTHORS.md SECURITY.md CODE_OF_CONDUCT.md Pipfile mkdocs.yml tox.ini pytest.ini strategy.ini

recursive-include autonomy *.json *.yaml *.proto *.ico *png *.html *.js *.css *.md *.cfg json1.dll
recursive-include deployments *
recursive-include docs *
recursive-include examples *
recursive-include packages *
recursive-include scripts *
recursive-include tests *
77 changes: 21 additions & 56 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,75 +4,40 @@ verify_ssl = true
name = "pypi"

[packages]
open-aea = {version = "==1.21.0", extras = ["all"]}
docker = "==6.0.0"
docker-compose = "==1.29.2"
Flask = "==2.0.2"
open-aea = {version = "==1.21.0.post1", extras = ["all"]}
open-aea-ledger-ethereum = "==1.21.0"
open-aea-ledger-cosmos = "==1.21.0"
open-aea-cli-ipfs = "==1.21.0"
Werkzeug= "==2.0.3"

[dev-packages]
### package deps
aiohttp = "==3.7.4.post0"
asn1crypto = "==1.4.0"
bandit = "==1.7.0"
black = "==21.6b0"
bs4 = "==0.0.1"
certifi = "==2021.10.8"
click = "==8.0.2"
darglint = "==1.8.0"
docker = "==6.0.0"
docker-compose = "==1.29.2"
flake8 = "==3.9.2"
flake8-bugbear = "==21.9.1"
flake8-docstrings = "==1.6.0"
flake8-eradicate = "==1.1.0"
flake8-isort = "==4.0.0"
# we pin this as the range specified in open-aea-ledger-cosmos is wide
cosmpy = "==0.3.1"
grpcio = "==1.43.0"
hypothesis = "==6.21.6"
ipfshttpclient = "==0.8.0a2"
isort = "==5.9.3"
markdown = "==3.3.4"
markdown-include = "==0.6.0"
mistune = "==2.0.3"
mkdocs = "==1.3.0"
mkdocs-material = "==7.1.10"
mkdocs-macros-plugin = "==0.7.0"
multidict = "==5.2.0"
mypy = "==0.910"
protobuf = "==3.19.4"
pydoc-markdown = "==4.3.2"
pydocstyle = "==6.1.1"
pymdown-extensions = "==8.2"
py-ecc = "==5.2.0"
py-eth-sig-utils = "==0.4.0"
pytest = "==7.0.0"
pytest-asyncio = "==0.18.0"
pytest-cov = "==3.0.0"
pytest-randomly = "==3.11.0"
pytest-rerunfailures = "==10.0"
pylint = "==2.11.1"
Pygments = "==2.11.2"
PyYAML = "==5.4.1"
safety = "==1.10.3"
tox = "==3.24.4"
types-pyyaml = "==6.0.7"
types-protobuf = "==3.19.20"
types-requests = "==2.27.25"
types-jsonschema= "==4.4.4"
types-setuptools= "==57.4.14"
vulture = "==2.3"
aiohttp = "==3.7.4.post0"
joblib = "==1.1.0"
# latest supported for Python 3.7
numpy = "==1.21.6"
open-aea-ledger-cosmos = "==1.21.0"
optuna = "==2.10.1"
pandas = "==1.3.5"
pandas-stubs = "==1.2.0.62"
pmdarima = "==2.0.1"
protobuf = "==3.19.4"
pytz = "==2022.2.1"
py-ecc = "==5.2.0"
py-eth-sig-utils = "==0.4.0"
# latest supported for Python 3.7
scikit-learn = "==1.0.2"
statsmodels = "==0.13.2"
# latest supported for Python 3.7
numpy = "==1.21.6"
optuna = "==2.10.1"
joblib = "==1.1.0"
Flask = "==2.0.2"
cosmpy = "==0.3.1"
Werkzeug= "==2.0.3"
pytz = "==2022.2.1"
### tests deps
mistune = "==2.0.3"
tomte = {version = "==0.1.5", extras = ["tox", "tests"]}

[requires]
python_version = "3.10"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ the dependencies:
- Fetch packages:

autonomy packages sync
autonomy packages sync --update-packages

## Cite

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-autonomy` are currently being

| Version | Supported |
| --------- | ------------------ |
| `0.3.1` | :white_check_mark: |
| `< 0.3.1` | :x: |
| `0.3.2` | :white_check_mark: |
| `< 0.3.2` | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion autonomy/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
__title__ = "open-autonomy"
__description__ = "A framework for the creation of autonomous agent services."
__url__ = "https://github.com/valory-xyz/open-autonomy.git"
__version__ = "0.3.1"
__version__ = "0.3.2"
__author__ = "Valory AG"
__license__ = "Apache-2.0"
__copyright__ = "2021-2022 Valory AG"
2 changes: 1 addition & 1 deletion autonomy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
)

OAR_IMAGE = "valory/oar-{agent}:{version}"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeiduiyvieomrupab6cil3ac4k5xqrtbwrwqnhwawdo2p5iokbjetje"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeiegpewio6lkpikfnohjqmlwkqtxdmjbky4dphof4jvrixlvkiqixi"
4 changes: 2 additions & 2 deletions deployments/Dockerfiles/autonomy-user/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open-autonomy[all]==0.3.1
open-aea[all]==1.21.0
open-autonomy[all]==0.3.2
open-aea[all]==1.21.0.post1
open-aea-cli-ipfs==1.21.0
open-aea-ledger-ethereum==1.21.0
protobuf==3.19.4
2 changes: 1 addition & 1 deletion deployments/Dockerfiles/autonomy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
watchdog==2.1.6
requests==2.27.1
open-aea[all]==1.21.0
open-aea[all]==1.21.0.post1
open-aea-cli-ipfs==1.21.0
open-aea-ledger-ethereum==1.21.0
open-aea-ledger-cosmos==1.21.0
Expand Down
2 changes: 1 addition & 1 deletion docs/autonomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ These keys can be used for local deployments if you're using the default hardhat

```bash
# fetch a service
$ autonomy fetch valory/oracle_hardhat:0.1.0:bafybeigokomslr2zympgvrxzpeivcf5ehs3s6pvprei4mts5ivr4skumy4 --service
$ autonomy fetch valory/oracle_hardhat:0.1.0:bafybeie553shfmnds6v7defynjv5kmjkqf2aygj345jbbcssevtnkbodbe --service
$ cd oracle_hardhat
# create a docker deployment
$ autonomy deploy build keys.json
Expand Down
2 changes: 1 addition & 1 deletion docs/counter_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ you have followed the [setup instructions](guides/quick_start.md#setup). As a re

2. Use the CLI to download the `valory/counter` service.
```bash
autonomy fetch valory/counter:0.1.0:bafybeiftr6d3pz6kmsh5h3gk5544a2hzsfq6w4es3efklqivjgx4t56s4u --remote --service
autonomy fetch valory/counter:0.1.0:bafybeiev45ujfstey5mztqmvn2ttjfbsqdxbpjjhqfzqrhonjbo725twua --remote --service
cd counter
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Now that you have set up your machine to work with {{open_autonomy}}, we are in

1. Use the CLI to fetch the [Hello World agent service](../hello_world_agent_service.md). This will connect to the remote registry and download the service specification to the `hello_world` folder:
```bash
autonomy fetch valory/hello_world:0.1.0:bafybeictw2xsg432g3d4pfqr5mjvyp36qtv3fosoxnnaphkqt3qpilcqky --service
autonomy fetch valory/hello_world:0.1.0:bafybeigu4dyxzpfka5bodnb5lzas5jsd4ejps6aabofn32l2wyqcbnilvm --service
cd hello_world
```

Expand Down
Loading

0 comments on commit a9675d0

Please sign in to comment.