-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Maturin build fails with --sdist, succeeds without #1290
Comments
So the crashed code is maturin/src/source_distribution.rs Line 557 in 3cfd886
Is your code public that I can reproduce this issue from it? |
@messense yeah! its a little behind what i have locally, but you can find it here: https://github.com/Bluesy1/CharB0T/tree/main/charbot_rust |
That doesn't include the |
Thanks for the quick look and fix on this! |
* Push new changes to help with PyO3/maturin#1290 * Complete update/upgrade * Add proper dunder variables to python side, and add check for matching versions
Bug Description
I was updating my project from maturing 0.13.7 to 0.14.1, and as such, i was trying to update my code to take advantage of some new things I noticed in the docs for maturin.
When i was updating my
pyproject.toml
for my mixed python+rust project, i added the following lines, and after that trying to build with the--sdist
flag fails, saying maturin crashed.Generated report file
Your Python version (
python -V
)Python 3.11.0
Your pip version (
pip -V
)pip 22.3.1
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
--sdist
flagGenerated output from adding
RUST_LOG=maturin=debug
to the front of the callThe text was updated successfully, but these errors were encountered: