From d66de42767e5ee70092c9354a55bd4ad9117fb65 Mon Sep 17 00:00:00 2001 From: nesitor Date: Tue, 27 Aug 2024 17:24:52 +0200 Subject: [PATCH] Update `aleph_message` package on packaging steps (#684) Fix: Update new `aleph-message` package version on packaging steps. --- docker/vm_supervisor-dev.dockerfile | 2 +- examples/volumes/Dockerfile | 2 +- packaging/Makefile | 2 +- runtimes/aleph-debian-12-python/create_disk_image.sh | 2 +- src/aleph/vm/orchestrator/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/vm_supervisor-dev.dockerfile b/docker/vm_supervisor-dev.dockerfile index 77718f3da..14514f569 100644 --- a/docker/vm_supervisor-dev.dockerfile +++ b/docker/vm_supervisor-dev.dockerfile @@ -19,7 +19,7 @@ RUN curl -fsSL -o /opt/firecracker/vmlinux.bin https://s3.amazonaws.com/spec.ccf RUN ln /opt/firecracker/release-*/firecracker-v* /opt/firecracker/firecracker RUN ln /opt/firecracker/release-*/jailer-v* /opt/firecracker/jailer -RUN pip3 install typing-extensions 'aleph-message==0.4.7' +RUN pip3 install typing-extensions 'aleph-message==0.4.9' RUN mkdir -p /var/lib/aleph/vm/jailer diff --git a/examples/volumes/Dockerfile b/examples/volumes/Dockerfile index f3aad1e18..8f57a0622 100644 --- a/examples/volumes/Dockerfile +++ b/examples/volumes/Dockerfile @@ -6,6 +6,6 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y \ && rm -rf /var/lib/apt/lists/* RUN python3 -m venv /opt/venv -RUN /opt/venv/bin/pip install 'aleph-message==0.4.7' +RUN /opt/venv/bin/pip install 'aleph-message==0.4.9' CMD mksquashfs /opt/venv /mnt/volume-venv.squashfs diff --git a/packaging/Makefile b/packaging/Makefile index 71a96d579..73cc23289 100644 --- a/packaging/Makefile +++ b/packaging/Makefile @@ -15,7 +15,7 @@ debian-package-code: cp ../examples/instance_message_from_aleph.json ./aleph-vm/opt/aleph-vm/examples/instance_message_from_aleph.json cp -r ../examples/data ./aleph-vm/opt/aleph-vm/examples/data mkdir -p ./aleph-vm/opt/aleph-vm/examples/volumes - pip3 install --target ./aleph-vm/opt/aleph-vm/ 'aleph-message==0.4.7' 'eth-account==0.10' 'sentry-sdk==1.31.0' 'qmp==1.1.0' 'superfluid==0.2.1' 'sqlalchemy[asyncio]>=2.0' 'aiosqlite==0.19.0' 'alembic==1.13.1' 'aiohttp_cors==0.7.0' 'pyroute2==0.7.12' 'python-cpuid==0.1.0' + pip3 install --target ./aleph-vm/opt/aleph-vm/ 'aleph-message==0.4.9' 'eth-account==0.10' 'sentry-sdk==1.31.0' 'qmp==1.1.0' 'superfluid==0.2.1' 'sqlalchemy[asyncio]>=2.0' 'aiosqlite==0.19.0' 'alembic==1.13.1' 'aiohttp_cors==0.7.0' 'pyroute2==0.7.12' 'python-cpuid==0.1.0' python3 -m compileall ./aleph-vm/opt/aleph-vm/ debian-package-resources: firecracker-bins vmlinux download-ipfs-kubo target/bin/sevctl diff --git a/runtimes/aleph-debian-12-python/create_disk_image.sh b/runtimes/aleph-debian-12-python/create_disk_image.sh index 859d678d5..10c8ae404 100755 --- a/runtimes/aleph-debian-12-python/create_disk_image.sh +++ b/runtimes/aleph-debian-12-python/create_disk_image.sh @@ -36,7 +36,7 @@ locale-gen en_US.UTF-8 echo "Pip installing aleph-sdk-python" mkdir -p /opt/aleph/libs -pip3 install --target /opt/aleph/libs 'aleph-sdk-python==0.9.0' 'aleph-message==0.4.7' 'fastapi~=0.109.2' +pip3 install --target /opt/aleph/libs 'aleph-sdk-python==1.0.0' 'aleph-message==0.4.9' 'fastapi~=0.109.2' # Compile Python code to bytecode for faster execution # -o2 is needed to compile with optimization level 2 which is what we launch init1.py ("python -OO") diff --git a/src/aleph/vm/orchestrator/README.md b/src/aleph/vm/orchestrator/README.md index 95430423a..c1d22ea0f 100644 --- a/src/aleph/vm/orchestrator/README.md +++ b/src/aleph/vm/orchestrator/README.md @@ -86,7 +86,7 @@ is used to parse and validate Aleph messages. ```shell apt install -y --no-install-recommends --no-install-suggests python3-pip pip3 install pydantic[dotenv] -pip3 install 'aleph-message==0.4.7' +pip3 install 'aleph-message==0.4.9' ``` ### 2.f. Create the jailer working directory: