How to use with docker
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- build-system, devops
调研方向
报告提到了 maturin build 命令、wheel 文件名、pip install,以及 build 和 runtime Docker 阶段,但没有提到任何仓库文件或测试。首先复现两阶段设置,并比较 build 和 runtime 平台;完成的标准是存在一个有文档记录的配置,使构建出的 wheel 能够在 runtime 阶段安装并运行。
由索引模型根据 Issue 内容生成。
描述
Hi, I have a package in rust using PyO3 that I need to build inside a docker container as part of a multi-stage build and pass it to the runtime stage for install and execution (I have this cumbersome setup as a requirement). I tried to use maturin by running maturin build --release but in the runtime stage when I try to use pip install my-package-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl I get this error: ERROR: my-package-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl is not a supported wheel on this platform. The python version in which I'm building the wheel is 3.11.6 and it's the same version used in the runtime. The the runtime is running from bitnami/pytorch:2.1.1, I whould appretiate any advice to setup the Dockerfile to make this.
PS: Sorry if I'm not more precise in the description, but I'm bounded by an NDA agreement.
- 主要语言
- Python
- 星标
- 681
- 派生
- 110
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PyO3/setuptools-rust 的其他 Issue
-
Support PEP 831未关闭
难度 4/5 3-5 天 新手友好度 48/100
PyO3/setuptools-rust#621 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
PyO3/setuptools-rust#619 ·
-
Builds run `cargo metadata` for all platforms可能已有人在做 @WhyNotHugo 于 76 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 55/100
PyO3/setuptools-rust#610 ·
-
难度 4/5 3-5 天 新手友好度 35/100
PyO3/setuptools-rust#575 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 30/100
PyO3/setuptools-rust#507 · 3 条评论 ·
查看 PyO3/setuptools-rust 的全部 Issue
相似的 Issue
-
enhancement good first issue Stellar Wave trivial
难度 2/5 1-3 小时 新手友好度 75/100
StellarCanary/ProtocolCanary-Fixtures#258 ·
维护者通常 1 天内回复
-
github_actions
难度 2/5 1-3 小时 新手友好度 65/100
Hochfrequenz/aibap.mcp#578 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
mishraprafful/multihull#150 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
python-caldav/caldav#735 ·
维护者通常 1 天内回复