mozilla-services / kinto-dist

Kinto Distribution for Mozilla Services
Apache License 2.0
12 stars 11 forks source link

Test Locally - docker-compose fails pip install #1930

Closed matt-boris closed 2 years ago

matt-boris commented 2 years ago

This pip install fails https://github.com/mozilla-services/kinto-dist/blob/19b8db7c0e0ee22a5de9b93cb84c25f4212869e2/bin/docker-install.sh#L25 on initial run of the docker-compose run web migrate call from the test locally section of the readme with this error:

#9 116.3 Collecting canonicaljson-rs==0.3.0
#9 116.4   Downloading canonicaljson_rs-0.3.0.tar.gz (9.5 kB)
#9 116.4   Installing build dependencies: started
#9 118.1   Installing build dependencies: finished with status 'done'
#9 118.1   Getting requirements to build wheel: started
#9 118.1   Getting requirements to build wheel: finished with status 'done'
#9 118.1   Preparing metadata (pyproject.toml): started
#9 118.1   Preparing metadata (pyproject.toml): finished with status 'error'
#9 118.1   ERROR: Command errored out with exit status 1:
#9 118.1    command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpfj7nwfwt
#9 118.1        cwd: /tmp/pip-install-3ogudqyi/canonicaljson-rs_fc76c933aeb34b68a5b28419c4aec489
#9 118.1   Complete output (6 lines):
#9 118.1   Checking for Rust toolchain....
#9 118.1   
#9 118.1   Cargo, the Rust package manager, is not installed or is not on PATH.
#9 118.1   This package requires Rust and Cargo to compile extensions. Install it through
#9 118.1   the system's package manager or via https://rustup.rs/