Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Add rust toolchain to fix docker image build #89

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

chenhunghan
Copy link
Owner

Fixes

#21 [linux/arm64 5/8] RUN pip3 install -r requirements.txt
#21 21.45   Installing build dependencies: finished with status 'done'
#21 21.47   Getting requirements to build wheel: started
#21 21.99   Getting requirements to build wheel: finished with status 'done'
#21 22.00   Preparing metadata (pyproject.toml): started
#21 22.53   Preparing metadata (pyproject.toml): finished with status 'error'
#21 22.58   error: subprocess-exited-with-error
#21 22.58   
#21 22.58   × Preparing metadata (pyproject.toml) did not run successfully.
#21 22.58   │ exit code: 1
#21 22.58   ╰─> [6 lines of output]
#21 22.58       
#21 22.58       Cargo, the Rust package manager, is not installed or is not on PATH.
#21 22.58       This package requires Rust and Cargo to compile extensions. Install it through
#21 22.58       the system's package manager or via https://rustup.rs/
#21 22.58       
#21 22.58       Checking for Rust toolchain....
#21 22.58       [end of output]
#21 22.58   
#21 22.58   note: This error originates from a subprocess, and is likely not a problem with pip.
#21 22.59 error: metadata-generation-failed
#21 22.59 
#21 22.59 × Encountered error while generating package metadata.
#21 22.59 ╰─> See above for output.
#21 22.59 
#21 22.59 note: This is an issue with the package mentioned above, not pip.
#21 22.59 hint: See above for details.
#21 ERROR: process "/bin/sh -c pip3 install -r requirements.txt" did not complete successfully: exit code: 1

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
@chenhunghan chenhunghan merged commit 8ce33d4 into main Dec 15, 2023
3 of 4 checks passed
@chenhunghan chenhunghan deleted the fix/add-rust-tool-chain branch December 15, 2023 01:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant