Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing package: maturin #254

Closed
3 of 4 tasks
jotonedev opened this issue Oct 17, 2021 · 5 comments
Closed
3 of 4 tasks

Missing package: maturin #254

jotonedev opened this issue Oct 17, 2021 · 5 comments

Comments

@jotonedev
Copy link

jotonedev commented Oct 17, 2021

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

  • Python 3.5
  • Python 3.7
  • Python 3.9

I am the maintainer

  • Yes

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.

wget https://static.rust-lang.org/dist/rust-1.55.0-armv7-unknown-linux-gnueabihf.tar.gz
tar xvzf rust-1.55.0-armv7-unknown-linux-gnueabihf.tar.gz
cd rust-1.55.0-armv7-unknown-linux-gnueabihf
sudo ./install.sh
@bennuttall
Copy link
Member

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.

@bennuttall bennuttall added this to Waiting for response in Packages Feb 25, 2022
@samuelcolvin
Copy link

samuelcolvin commented Jun 4, 2022

Looks like this error probably is something to do with git, I know cargo metadata users libgit.

@messense might know more.

@messense
Copy link

messense commented Jun 5, 2022

Yes, cargo needs to clone the crates.io-index repository from GitHub.

@davidhewitt
Copy link

With nightly rust you could try CARGO_UNSTABLE_SPARSE_REGISTRY=true to avoid needing a git clone.

@bennuttall
Copy link
Member

Built successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Packages
  
Waiting for response
Development

No branches or pull requests

5 participants