Failiure when building a wheel from a rust crate with a local dependency #507
Copy link
Copy link
Open
Description
Activity
I think the optimal solution here would be to detect local dependencies, actually copy them to the archive and rewrite Cargo.toml for the affected crate, but I'm not sure how reasonable that is.
MWE here
I think the optimal solution here would be to detect local dependencies, actually copy them to the archive and rewrite Cargo.toml for the affected crate, but I'm not sure how reasonable that is.
This is implemented in maturin but it introduces some other issues: https://github.com/PyO3/maturin/issues?q=is%3Aissue%20label%3Asdist%20label%3Abug
For simplicity I don't think we should implement it in setuptools-rust.
Metadata
Metadata
Assignees
Labels
No labels
I have a rust crate in a workspace with a local dependency. Basically I have
And my
project_pythondepends onproject_coreinCargo.tomllike this:When I call
python -m build -sI see the following in my logs:and
This leads to
project-coreending up next todist