Skip to content

Commit

Permalink
Upgrade ACA-Py to 0.11.0
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas ONeil <[email protected]>
  • Loading branch information
loneil committed Nov 28, 2023
1 parent addc896 commit 87b3787
Show file tree
Hide file tree
Showing 12 changed files with 341 additions and 337 deletions.
163 changes: 82 additions & 81 deletions plugins/basicmessage_storage/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/basicmessage_storage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Jason Sherman <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.9"
aries-cloudagent = { version = "0.11.0rc2" }
aries-cloudagent = { version = "0.11.0" }

[tool.poetry.dev-dependencies]
flake8 = "^5.0.4"
Expand Down
163 changes: 82 additions & 81 deletions plugins/connection_update/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/connection_update/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [{include = "connection_update"}]

[tool.poetry.dependencies]
python = "^3.9"
aries-cloudagent = { version = "0.11.0rc2" }
aries-cloudagent = { version = "0.11.0" }

[tool.poetry.dev-dependencies]
flake8 = "^5.0.4"
Expand Down
4 changes: 2 additions & 2 deletions plugins/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0rc2 as base
FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0 as base

# Install and Configure Poetry
USER root
Expand Down Expand Up @@ -27,7 +27,7 @@ RUN poetry install --no-dev
RUN ln -s $(poetry env info -p)/lib/python3.6/site-packages site-packages


FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0rc2
FROM ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0
COPY --from=base --chown=aries:aries /home/aries/.venv /home/aries/.venv
ENV PATH="/home/aries/.venv/bin:$PATH"

Expand Down
163 changes: 82 additions & 81 deletions plugins/multitenant_provider/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions plugins/multitenant_provider/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ packages = [{include = "multitenant_provider"}]

[tool.poetry.dependencies]
python = "^3.9"
aries-cloudagent = { version = "0.11.0rc2" }
aries-cloudagent = { version = "0.11.0" }
python-dateutil = "^2.8.2"
bcrypt = "^4.0.1"
mergedeep = "^1.3.4"
aries-askar = "^0.3.0"
typing-extensions = "4.0.1"
typing-extensions = "4.8.0"
indy-vdr = "^0.4.0"
indy-credx = "^1.1.1"

Expand Down
4 changes: 2 additions & 2 deletions plugins/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
aries-cloudagent = { version = "0.11.0rc2" }
aries-cloudagent = { version = "0.11.0" }
python-dateutil = "^2.8.2"
typing-extensions = "4.0.1"
typing-extensions = "4.8.0"
basicmessage_storage = {path = "./basicmessage_storage", develop = true}
connection_update = {path = "./connection_update", develop = true}
multitenant-provider = {path = "./multitenant_provider", develop = true}
Expand Down
163 changes: 82 additions & 81 deletions plugins/traction_innkeeper/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions plugins/traction_innkeeper/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ packages = [{include = "traction_innkeeper"}]

[tool.poetry.dependencies]
python = "^3.9"
aries-cloudagent = { version = "0.11.0rc2" }
aries-cloudagent = { version = "0.11.0" }
python-dateutil = "^2.8.2"
bcrypt = "^4.0.1"
mergedeep = "^1.3.4"
typing-extensions = "4.0.1"
typing-extensions = "4.8.0"

[tool.poetry.dev-dependencies]
black = "^22.6.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Currently this setup has dependencies on BCovrin Test Ledger and a registered en
Also, there are longer term goals for moving the plugins to separate repositories and allowing teams to pull them in and configure their own Aca-Py images as needed. Currently, we are pulling the plugins in as source and building a custom image. For local development, the build of this image is included in the `docker compose build` command. Once the Aca-py + plugin image is built (tagged: `traction:plugins-acapy`), that image is pulled into another that we use to run an [ngrok](https://ngrok.com) script for external access to our agent (see [services/aca-py](../services/aca-py). This is not what we are doing in production, but we are doing it here (for now).

#### traction:plugins-acapy
This image is based on [ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0rc2](https://github.com/hyperledger/aries-cloudagent-python/releases/tag/0.11.0rc2) and this is where we pull in the [traction plugins](../plugins) and build out the image see [Dockerfile](../plugins/docker/Dockerfile)
This image is based on [ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0](https://github.com/hyperledger/aries-cloudagent-python/releases/tag/0.11.0) and this is where we pull in the [traction plugins](../plugins) and build out the image see [Dockerfile](../plugins/docker/Dockerfile)

The plugins are built using the base plugins [pyproject.toml](../plugins/pyproject.toml) which pulls in each plugin as source. Simply adding new plugin directories to the file system and adding to the dockerfile will not be enough, they must be dependencies in the `plugins/pyproject.toml`.

Expand Down
4 changes: 2 additions & 2 deletions scripts/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ services:
- host.docker.internal:host-gateway

endorser-agent:
image: ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0rc2
image: ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0
depends_on:
endorser-db:
condition: service_healthy
Expand Down Expand Up @@ -308,7 +308,7 @@ services:
- host.docker.internal:host-gateway

endorser-agent-1:
image: ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0rc2
image: ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.11.0
depends_on:
endorser-db-1:
condition: service_healthy
Expand Down

0 comments on commit 87b3787

Please sign in to comment.