Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Fix Python Tutorial

オープン
#348 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, wasm
領域
documentation

調査の方向性

language-support/building-a-simple-component/python.html の「Running components from Python Applications」セクションから始め、現在のパッケージを使って、記載されている wasmtime.bindgen コマンドを再現してください。参照されている wasmtime-py の issue #309 と #310 を読んでサポート状況を確認し、そのうえで、検証済みのワークフローまたは利用可能性についての明確な注記をチュートリアルに追加し、例がユーザーを誤解させなくなったことを確認してください。

索引モデルが issue の本文から書いたものです。

説明

bug lang/python

Hello,

I encountered an issue while following the "Running components from Python Applications" section in the documentation.

The documentation currently instructs users to install wasmtime and then run:
python3 -m wasmtime.bindgen add.wasm --out-dir add
However, with the current wasmtime package, this fails with:
No module named wasmtime.bindgen

It looks like wasmtime.bindgen was removed from wasmtime-py in bytecodealliance/wasmtime-py#310. The PR says that wasmtime.bindgen was removed in favor of component support in the C API, and that reimplementing bindgen for components is deferred to future work in bytecodealliance/wasmtime-py#309.

So I think this section of the documentation may now be outdated.

Expected behavior

The tutorial should provide a working way to run the add.wasm component from a Python host application, or mention that this workflow is no longer available with current versions of wasmtime-py.

Actual behavior

The documented command fails because wasmtime.bindgen is no longer available.

Environment

  • Python 3.12.3 via pyenv
  • wasmtime: latest version installed by pip install wasmtime
  • OS: Ubuntu 24.04.1 LTS (Noble Numbat)
  • Architecture: x86_64
主要言語
Rust
スター
137
フォーク
88
平均マージ
10時間 38分
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bytecodealliance/component-docs のほかの issue

bytecodealliance/component-docs の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。