From 641b3420b871130fd2ea5aca15862f3b7a4cff57 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 12 Feb 2026 11:10:39 -0700 Subject: [PATCH] bump version to 0.21.0 --- Cargo.toml | 2 +- README.md | 2 +- cpython | 2 +- examples/cli/README.md | 4 ++-- examples/http-p3/README.md | 4 ++-- examples/http/README.md | 4 ++-- examples/matrix-math/README.md | 4 ++-- examples/sandbox/README.md | 10 +++++++--- examples/tcp/README.md | 4 ++-- pyproject.toml | 2 +- 10 files changed, 21 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1a8745e..4b0636b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "componentize-py" -version = "0.20.0" +version = "0.21.0" edition = "2024" exclude = ["cpython"] diff --git a/README.md b/README.md index d7ecd70..c537d78 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ bindings for the component: > Due to compatibility issues with `wasmtime-py` versions beyond 38.x, **this example** requires version 38.0.0 or earlier: `pip install "wasmtime==38.0.0"` ```shell -pip install wasmtime +pip install wasmtime==38.0.0 python3 -m wasmtime.bindgen app.wasm --out-dir hello_host ``` diff --git a/cpython b/cpython index 9e28916..0e13686 160000 --- a/cpython +++ b/cpython @@ -1 +1 @@ -Subproject commit 9e2891605398eb7526c0d517ef43bc220ad9be48 +Subproject commit 0e13686da8bb881b059d35e23c32bcd2e6440099 diff --git a/examples/cli/README.md b/examples/cli/README.md index 9925154..8ad7938 100644 --- a/examples/cli/README.md +++ b/examples/cli/README.md @@ -10,7 +10,7 @@ run a Python-based component targetting the [wasi-cli] `command` world. ## Prerequisites * `Wasmtime` 38.0.0 or later -* `componentize-py` 0.20.0 +* `componentize-py` 0.21.0 Below, we use [Rust](https://rustup.rs/)'s `cargo` to install `Wasmtime`. If you don't have `cargo`, you can download and install from @@ -18,7 +18,7 @@ https://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.0. ``` cargo install --version 38.0.0 wasmtime-cli -pip install componentize-py==0.20.0 +pip install componentize-py==0.21.0 ``` ## Running the demo diff --git a/examples/http-p3/README.md b/examples/http-p3/README.md index 9fc9d56..6df34f0 100644 --- a/examples/http-p3/README.md +++ b/examples/http-p3/README.md @@ -11,7 +11,7 @@ run a Python-based component targetting version `0.3.0-rc-2026-01-06` of the ## Prerequisites * `Wasmtime` 41.0.3 -* `componentize-py` 0.20.0 +* `componentize-py` 0.21.0 Below, we use [Rust](https://rustup.rs/)'s `cargo` to install `Wasmtime`. If you don't have `cargo`, you can download and install from @@ -19,7 +19,7 @@ https://github.com/bytecodealliance/wasmtime/releases/tag/v41.0.3. ``` cargo install --version 41.0.3 wasmtime-cli -pip install componentize-py==0.20.0 +pip install componentize-py==0.21.0 ``` ## Running the demo diff --git a/examples/http/README.md b/examples/http/README.md index 3681c9e..9142b81 100644 --- a/examples/http/README.md +++ b/examples/http/README.md @@ -10,7 +10,7 @@ run a Python-based component targetting the [wasi-http] `proxy` world. ## Prerequisites * `Wasmtime` 38.0.0 or later -* `componentize-py` 0.20.0 +* `componentize-py` 0.21.0 Below, we use [Rust](https://rustup.rs/)'s `cargo` to install `Wasmtime`. If you don't have `cargo`, you can download and install from @@ -18,7 +18,7 @@ https://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.0. ``` cargo install --version 38.0.0 wasmtime-cli -pip install componentize-py==0.20.0 +pip install componentize-py==0.21.0 ``` ## Running the demo diff --git a/examples/matrix-math/README.md b/examples/matrix-math/README.md index 9cf60dd..679974b 100644 --- a/examples/matrix-math/README.md +++ b/examples/matrix-math/README.md @@ -11,7 +11,7 @@ within a guest component. ## Prerequisites * `wasmtime` 38.0.0 or later -* `componentize-py` 0.20.0 +* `componentize-py` 0.21.0 * `NumPy`, built for WASI Note that we use an unofficial build of NumPy since the upstream project does @@ -23,7 +23,7 @@ https://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.0. ``` cargo install --version 38.0.0 wasmtime-cli -pip install componentize-py==0.20.0 +pip install componentize-py==0.21.0 curl -OL https://github.com/dicej/wasi-wheels/releases/download/v0.0.2/numpy-wasi.tar.gz tar xf numpy-wasi.tar.gz ``` diff --git a/examples/sandbox/README.md b/examples/sandbox/README.md index 6f803f1..997b267 100644 --- a/examples/sandbox/README.md +++ b/examples/sandbox/README.md @@ -7,11 +7,15 @@ sandboxed Python code snippets from within a Python app. ## Prerequisites -* `wasmtime-py` 38.0.0 or later -* `componentize-py` 0.20.0 +Note that we must use `wasmtime-py` version 38.0.0 specifically because later +versions have a different API for working with components, and this example has +not yet been updated to use it. + +* `wasmtime-py` 38.0.0 +* `componentize-py` 0.21.0 ``` -pip install componentize-py==0.20.0 wasmtime==38.0.0 +pip install componentize-py==0.21.0 wasmtime==38.0.0 ``` ## Running the demo diff --git a/examples/tcp/README.md b/examples/tcp/README.md index 5dc13c8..9cd0f6c 100644 --- a/examples/tcp/README.md +++ b/examples/tcp/README.md @@ -11,7 +11,7 @@ making an outbound TCP request using `wasi-sockets`. ## Prerequisites * `Wasmtime` 38.0.0 or later -* `componentize-py` 0.20.0 +* `componentize-py` 0.21.0 Below, we use [Rust](https://rustup.rs/)'s `cargo` to install `Wasmtime`. If you don't have `cargo`, you can download and install from @@ -19,7 +19,7 @@ https://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.0. ``` cargo install --version 38.0.0 wasmtime-cli -pip install componentize-py==0.20.0 +pip install componentize-py==0.21.0 ``` ## Running the demo diff --git a/pyproject.toml b/pyproject.toml index 0a4a5e0..4e3c4b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ features = ["pyo3/extension-module"] [project] name = "componentize-py" -version = "0.20.0" +version = "0.21.0" description = "Tool to package Python applications as WebAssembly components" readme = "README.md" license = { file = "LICENSE" }