Closed jotonedev closed 1 year ago
cargo is installed: https://github.com/piwheels/piwheels/blob/master/deploy_slave.sh#L67
Here's the build log for v0.11.5: https://dpaste.com//E8QBQV556
Do the cargo dependencies rely on downloading stuff from github by any chance? We disable git clones in piwheels builds, so it's possibly that.
Looks like this error probably is something to do with git, I know cargo metadata
users libgit.
@messense might know more.
Yes, cargo needs to clone the crates.io-index repository from GitHub.
With nightly rust you could try CARGO_UNSTABLE_SPARSE_REGISTRY=true
to avoid needing a git clone.
Built successfully
Package name
maturin
Package version
>=0.11.2
PyPI URL
https://pypi.org/project/maturin/
piwheels URL
https://www.piwheels.org/project/maturin/
Python version
I am the maintainer
More information
The builds appear to be failing because rust and cargo are not installed.
I successfully compiled maturin by installing rust using this commands and then running
pip3 wheel maturin
.