Open ia0 opened 2 months ago
My guess is that the problem is caused by the pyproject.toml
symlink, maturin
has canonicalized it.
Will take a further look later.
I took a look today, the problem is actually python-source = "../../python"
option, we don't actually support python-source
outside of rust
source directory yet, it must be inside
or sibling of the rust
source directory.
Bug Description
Note that I'm most probably doing something wrong (I'm trying to build some wheels with a Python library and a Rust binary). But given it's a panic and apparently panics are not expected in Maturin, I'm creating a bug report.
Your maturin version (
maturin --version
)1.7.1
Your Python version (
python -V
)I don't have python, but
python3 -V
gives 3.11.9Your pip version (
pip -V
)24.0
What bindings you're using
bin
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
The current commit hash of the branch on my fork is
635af61bfcbc87df2b6e6ee982c701155fad6bde
in case this changes before anyone tries to reproduce.