sdist not installable / Cargo workspace with non-default members with glob #1844
Closed
1 of 2 tasks
Labels
bug
Something isn't working
Bug Description
Recently I have updated Polars by moving the PyO3 crate into the workspace: pola-rs/polars#12256
Maturin still builds the wheels fine, but running
maturin sdist
now generates a broken sdist.This is partly fixed by #1841 and using the latest maturin version. But there is another issue related to non-default workspace members.
Stack trace:
Your maturin version (
maturin --version
)main branch
Your Python version (
python -V
)3.11.2
Your pip version (
pip -V
)23.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
See pola-rs/polars#12370 for the workaround I implemented.
To reproduce the issue, check out the Polars repository BEFORE the workaround commit and run:
maturin sdist --manifest-path py-polars/Cargo.toml --out dist
pip install --force-reinstall --verbose dist/*.tar.gz
Cargo build works fine, maturin also builds the wheels just fine. It's just the sdist that is broken.
The text was updated successfully, but these errors were encountered: