Download dependencies automatically
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- build-system, devtools, tooling
调研方向
从 componentize-py 的依赖处理入口开始,检查应用程序的 pyproject.toml、链接的 guest-tooling 会议讨论以及 micropip 的行为。初始范围提到使用 pip 配合 wasi-sdk-22、cp311 和临时目录;完成标准将包括传递性 Pure-Python 依赖以及原生扩展包的替代源,而后续的自包含模式仍然是一个更大的目标。
由索引模型根据 Issue 内容生成。
描述
Per yesterday's Python guest tooling meeting, we'd like componentize-py to download any dependencies found in the application's pyproject.toml (including transitive dependencies), placing them in a temporary directory for use while building the component.
Similar to micropip, componentize-py should grab any pure Python packages from PyPI, only looking to an alternative repo for packages with native extensions. We (i.e. the Bytecode Alliance) will need to maintain this repo and populate it with WASI builds of popular projects until WASI wheels are standardized and published upstream to PyPI.
To start with, componentize-py could shell out to e.g. pip --install --platform wasi-sdk-22 --abi cp311 --root <tmpdir>, but eventually we'd like to make it fully self-contained (i.e. not require Python or pip to be installed).
- 主要语言
- Rust
- 星标
- 284
- 派生
- 56
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bytecodealliance/componentize-py 的其他 Issue
-
难度 3/5 半天 新手友好度 40/100
bytecodealliance/componentize-py#259 · 1 条评论 ·
-
wasm32-wasip3 target uses WASI preview 2 bindings可能已有人在做 @Snowiiii 于 6 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 57/100
bytecodealliance/componentize-py#253 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
bytecodealliance/componentize-py#247 · 12 条评论 ·
-
难度 3/5 1-2 天 新手友好度 68/100
bytecodealliance/componentize-py#217 · 6 条评论 ·
查看 bytecodealliance/componentize-py 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
area: settings bug Haiku review: no-score ui
难度 2/5 1-3 小时 新手友好度 78/100
MMFoundation/WallpaperMachine#346 ·
维护者通常 1 天内回复
-
Make the HTTP server's keep-alive and headers timeouts configurable可能已有人在做 @mattgodbolt 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
compiler-explorer/compiler-explorer#9902 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复