-
Notifications
You must be signed in to change notification settings - Fork 83
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
Source wheel fails to build due to missing Cargo.toml #317
Labels
bug
Something isn't working
Comments
Thanks for the report. I will try and figure out why this fails. FWIW, it works for me.
|
@ztsweet What version of Python is installed at |
Also could you run with pip's |
It works because you did the installation from the pre-created wheel package, not from the source code. |
|
I can reproduce the issue in the repo with these commands:
Produces:
|
andygrove
changed the title
pip install datafusion==21.0.0 error
Source wheel fails to build due to missing Cargo.toml
Apr 10, 2023
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`
uname -a
inux bi-Precision-3630-Tower 5.15.0-50-generic #56~20.04.1-Ubuntu SMP Tue Sep 27 15:51:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
error
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
💥 maturin failed
Caused by: Can't find /tmp/pip-install-z4jah88t/datafusion_f3b0577bcff64d52845e7c19eb5c3d8f/Cargo.toml (in /tmp/pip-install-z4jah88t/datafusion_f3b0577bcff64d52845e7c19eb5c3d8f)
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-bh7yllpq', '--interpreter', '/home/fzt/miniconda3/envs/test/bin/python']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running
maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-bh7yllpq --interpreter /home/fzt/miniconda3/envs/test/bin/python
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
`
The text was updated successfully, but these errors were encountered: