Skip to content

Commit

Permalink
Remove wit-bindgen-gen-host-wasmtime-py (#436)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton committed Nov 18, 2022
1 parent 0b45c73 commit a6d3e3e
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 3,635 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,10 @@ jobs:
- name: Install NPM packages
run: npm install
working-directory: crates/gen-host-js
- uses: actions/setup-python@v1
with:
python-version: 3.9
- uses: actions/setup-java@v3
with:
java-version: '18'
distribution: 'adopt'
- run: pip install mypy wasmtime
- if: matrix.mode == 'release'
name: Test release build
run: cargo test --workspace --release
Expand Down
15 changes: 0 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ wit-bindgen-gen-guest-c = { path = 'crates/gen-guest-c', version = '0.3.0' }
wit-bindgen-gen-guest-rust = { path = "crates/gen-guest-rust", version = "0.3.0" }
wit-bindgen-gen-guest-teavm-java = { path = 'crates/gen-guest-teavm-java', version = '0.3.0' }
wit-bindgen-gen-host-js = { path = 'crates/gen-host-js', version = '0.3.0' }
wit-bindgen-gen-host-wasmtime-py = { path = 'crates/gen-host-wasmtime-py', version = '0.3.0' }
wit-bindgen-gen-host-wasmtime-rust = { path = 'crates/gen-host-wasmtime-rust', version = '0.3.0' }
wit-bindgen-gen-markdown = { path = 'crates/gen-markdown', version = '0.3.0' }
wit-bindgen-gen-rust-lib = { path = 'crates/gen-rust-lib', version = '0.3.0' }
Expand All @@ -57,7 +56,6 @@ clap = { workspace = true }
wit-bindgen-core = { path = 'crates/bindgen-core' }
wit-bindgen-gen-guest-rust = { path = 'crates/gen-guest-rust', features = ['clap'] }
wit-bindgen-gen-host-wasmtime-rust = { path = 'crates/gen-host-wasmtime-rust', features = ['clap'] }
wit-bindgen-gen-host-wasmtime-py = { path = 'crates/gen-host-wasmtime-py', features = ['clap'] }
wit-bindgen-gen-host-js = { path = 'crates/gen-host-js', features = ['clap'] }
wit-bindgen-gen-guest-c = { path = 'crates/gen-guest-c', features = ['clap'] }
wit-bindgen-gen-markdown = { path = 'crates/gen-markdown', features = ['clap'] }
Expand Down
16 changes: 0 additions & 16 deletions crates/gen-host-wasmtime-py/Cargo.toml

This file was deleted.

13 changes: 0 additions & 13 deletions crates/gen-host-wasmtime-py/mypy.ini

This file was deleted.

96 changes: 0 additions & 96 deletions crates/gen-host-wasmtime-py/src/imports.rs

This file was deleted.

0 comments on commit a6d3e3e

Please sign in to comment.