-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Documented sdist building method isn't working #810
Comments
Thanks for reporting, looks like a regression from the clap 3.0 upgrade. But I think using |
AH, so this is a documentation issue, then. Specifically https://github.com/PyO3/maturin/blob/main/guide/src/distribution.md?plain=1#L14 should mention |
@konstin What do you think? Do we still want to support building sdist-only via |
I have no strong opinions, except that I think that the docs should point to |
I've updated the docs. Let's keep this issue open until we remove or bring back support for |
Bug Description
In previous versions, e.g. 0.12.6, and as documented (https://maturin.rs/distribution.html), one could run
maturin build --intepreter
with no additional argument and it would create an sdist tarball.With 0.12.9, however, I get an error:
Your Python version (
python -V
)3.9.7
Your pip version (
pip -V
)21.2.4
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
Add appropriate sdist metadata to
pyproject.toml
, then runmaturin build --interpreter
. With 0.12.6 it works, with 0.12.9 it doesn't.The text was updated successfully, but these errors were encountered: