Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "componentize-py"
version = "0.20.0"
version = "0.21.0"
edition = "2024"
exclude = ["cpython"]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion cpython
Submodule cpython updated 1 files
+18 −17 Lib/socket.py
4 changes: 2 additions & 2 deletions examples/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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
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
Expand Down
4 changes: 2 additions & 2 deletions examples/http-p3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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
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
Expand Down
4 changes: 2 additions & 2 deletions examples/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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
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
Expand Down
4 changes: 2 additions & 2 deletions examples/matrix-math/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
Expand Down
10 changes: 7 additions & 3 deletions examples/sandbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/tcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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
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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down