JupyterLite bootstrap never uses the bundled wheel: /pypi does not exist in the kernel, so it installs the last PyPI release
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- jupyter, jupyter-notebook, python
- 領域
- build-system, tooling
調査の方向性
Read docs/notebooks/_mvtb_nb_bootstrap.py and compare how it installs the bundled wheel with the old piplite.install behavior described in the issue. Start by checking whether piplite is importable in the JupyterLite kernel, then review docs/lite/wasm_check/check_pyodide_install.mjs to understand what the existing check covers. Done means the bootstrap uses the site's bundled wheel in JupyterLite and still falls back to micropip where piplite is unavailable.
索引モデルが issue の本文から書いたものです。
説明
Likely smell, found while testing the same bootstrap in RTB. Worth checking out and fixing.
docs/notebooks/_mvtb_nb_bootstrap.py prefers "the wheel bundled with this JupyterLite site" with Path("/pypi").glob("machinevision_toolbox_python-*.whl"). In a real JupyterLite kernel there is no /pypi folder (checked in Chromium with the same pinned kernel, 0.6.1: Path('/pypi').exists() is False), so that branch never runs and the bootstrap always does micropip.install("machinevision-toolbox-python", deps=False) from PyPI. The site therefore installs the last release, not the wheel built with it, so "Try it Now" does not track main.
The old piplite.install([...]) cells did pick up the bundled wheel, because piplite looks in the site's own package index first (pypi/all.json). Using piplite.install when piplite is importable, and micropip.install otherwise (for example under Node), fixes it.
docs/lite/wasm_check/check_pyodide_install.mjs hides it: it mounts the wheel in Pyodide's filesystem and redirects the pypi/ install, so it tests the new wheel whatever the notebook does. A check that opens a site built with the wheel in a browser and compares a hash of an installed source file with the checkout would catch it. RTB has one in docs/lite/browser_check/ (petercorke/robotics-toolbox-python, in the PR that fixes this there).
- 主要言語
- Python
- スター
- 224
- フォーク
- 35
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 34
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
petercorke/machinevision-toolbox-python のほかの issue
-
tech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 39/100
petercorke/machinevision-toolbox-python#159 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
petercorke/machinevision-toolbox-python#157 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
petercorke/machinevision-toolbox-python#152 ·
メンテナーはふだん 1 日以内に返信
-
ROSBag: RealSense bags have a 4-byte depth-units trailer that is guessed, not parsed再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
petercorke/machinevision-toolbox-python#151 ·
メンテナーはふだん 1 日以内に返信
-
Sources.py: quick wins, split into a package, and API unification対応中かも @zw1915 が 6 日前に担当しました。 オープンhelp wanted tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
petercorke/machinevision-toolbox-python#150 ·
メンテナーはふだん 1 日以内に返信
petercorke/machinevision-toolbox-python の issue をすべて見る
似ている issue
-
type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
push_gh-pages fails on master branch on forks対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンgood first issue infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
good first issue server
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
a-lex-s/mealie-telegram-bot#54 ·
メンテナーはふだん 1 日以内に返信