How to use with docker
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- build-system, devops
Direzione di ricerca
Il report indica il comando maturin build, il nome del file wheel, pip install e gli stage Docker di build e runtime, ma non indica alcun file del repository né alcun test. Inizia riproducendo la configurazione a due stage e confrontando le piattaforme di build e runtime; il lavoro è completato quando esiste una configurazione documentata in cui il wheel compilato viene installato ed eseguito nello stage di runtime.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 680
- Fork
- 110
- Merge medio
- 3g 18h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PyO3/setuptools-rust
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
PyO3/setuptools-rust#619 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
PyO3/setuptools-rust#610 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
PyO3/setuptools-rust#575 · 5 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
PyO3/setuptools-rust#507 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
PyO3/setuptools-rust#344 · 7 commenti ·
Tutte le issue di PyO3/setuptools-rust
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/skills#1811 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
speaches-ai/speaches#678 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
datalayer/mcp-compose#42 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
UKGovernmentBEIS/inspect_evals#2523 ·