-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Update workspace memebers for sdist local dependencies #844
Conversation
✔️ Deploy Preview for maturin-guide ready! 🔨 Explore the source changes: 1e62f47 🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/622f3bb9ab4d3200095a2bac 😎 Browse the preview: https://deploy-preview-844--maturin-guide.netlify.app |
@messense I rebuilt maturin off this PR branch but when I do $ ../maturin/target/release/maturin sdist
🔗 Found bin bindings
📡 Using build options bindings from pyproject.toml
💥 maturin failed
Caused by: Failed to build source distribution
Caused by: Failed to run cargo
Caused by: No such file or directory (os error 2) |
actually, the same error happens if when I build and run maturin from the latest I don't get any error when I use the latest stable maturin from PyPI v0.12.10 |
@anthrotype Can you try again, I've reverted #843 which might be the cause of the |
thanks, I tried again and it works now! I could build a sdist and then do pip wheel off it without errors about missing workspace manifests. |
a2a8e31
to
84f1991
Compare
84f1991
to
1e62f47
Compare
for member in members.iter() { | ||
if let toml_edit::Value::String(ref s) = member { | ||
let name = s.value(); | ||
if known_path_deps.contains_key(name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: workspace members contain paths not just names, so this only handles simple path without subdirectory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix this later.
Fixes #838