Skip to content

Commit a6d3e3e

Browse files
authored
Remove wit-bindgen-gen-host-wasmtime-py (#436)
This commit removes the host Python generation from this project. The support here has all moved upstream to https://github.com/bytecodealliance/wasmtime-py and is now supported through: python -m wasmtime.bindgen my-component.wasm --out-dir ./my-component Some documentation is in the upstream `README.md` about how to use. Necessary tests have been mirrored to the upstream repository to the best of my ability, and this is intended to represent an inflection point where the growth of the Python generator is no longer tied up with all the other languages in this repository. This is a step further along the path of #395.
1 parent 0b45c73 commit a6d3e3e

25 files changed

Lines changed: 1 addition & 3635 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,10 @@ jobs:
5252
- name: Install NPM packages
5353
run: npm install
5454
working-directory: crates/gen-host-js
55-
- uses: actions/setup-python@v1
56-
with:
57-
python-version: 3.9
5855
- uses: actions/setup-java@v3
5956
with:
6057
java-version: '18'
6158
distribution: 'adopt'
62-
- run: pip install mypy wasmtime
6359
- if: matrix.mode == 'release'
6460
name: Test release build
6561
run: cargo test --workspace --release

Cargo.lock

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ wit-bindgen-gen-guest-c = { path = 'crates/gen-guest-c', version = '0.3.0' }
3737
wit-bindgen-gen-guest-rust = { path = "crates/gen-guest-rust", version = "0.3.0" }
3838
wit-bindgen-gen-guest-teavm-java = { path = 'crates/gen-guest-teavm-java', version = '0.3.0' }
3939
wit-bindgen-gen-host-js = { path = 'crates/gen-host-js', version = '0.3.0' }
40-
wit-bindgen-gen-host-wasmtime-py = { path = 'crates/gen-host-wasmtime-py', version = '0.3.0' }
4140
wit-bindgen-gen-host-wasmtime-rust = { path = 'crates/gen-host-wasmtime-rust', version = '0.3.0' }
4241
wit-bindgen-gen-markdown = { path = 'crates/gen-markdown', version = '0.3.0' }
4342
wit-bindgen-gen-rust-lib = { path = 'crates/gen-rust-lib', version = '0.3.0' }
@@ -57,7 +56,6 @@ clap = { workspace = true }
5756
wit-bindgen-core = { path = 'crates/bindgen-core' }
5857
wit-bindgen-gen-guest-rust = { path = 'crates/gen-guest-rust', features = ['clap'] }
5958
wit-bindgen-gen-host-wasmtime-rust = { path = 'crates/gen-host-wasmtime-rust', features = ['clap'] }
60-
wit-bindgen-gen-host-wasmtime-py = { path = 'crates/gen-host-wasmtime-py', features = ['clap'] }
6159
wit-bindgen-gen-host-js = { path = 'crates/gen-host-js', features = ['clap'] }
6260
wit-bindgen-gen-guest-c = { path = 'crates/gen-guest-c', features = ['clap'] }
6361
wit-bindgen-gen-markdown = { path = 'crates/gen-markdown', features = ['clap'] }

crates/gen-host-wasmtime-py/Cargo.toml

Lines changed: 0 additions & 16 deletions
This file was deleted.

crates/gen-host-wasmtime-py/mypy.ini

Lines changed: 0 additions & 13 deletions
This file was deleted.

crates/gen-host-wasmtime-py/src/imports.rs

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)