-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
Dependencies not added to the wheel metadata #1053
Comments
Lines 132 to 135 in e27200d
The problem is that when you specified Cargo manifest path in cli, maturin currently assumes I planned to fix it in #1009 but forgot about it when implementing #1043, thanks for posting the issue. |
Please try #1054. BTW, currently maturin cannot build source distribution for your project even after #1054 due to the following error:
Consider move |
I can give that a try |
Moving the |
Bug Description
Dependencies specified in pyproject.toml are not added to the final METADA file in the dist-info directory.
I have a project with this information in the pyproject.toml file:
When I read the documentation, I understood that Maturin would use that information to make sure that the dependencies are installed when someone runs
pip install cargo-lambda
. This is not the case.For what I can tell, the
dist-info/METADATA
files doesn't include the dependency asRequires-Dist
, is there anything that I'm missing?This is the header if my
dist-info/METADATA
:Your Python version (
python -V
)Python 3.8.10
Your pip version (
pip -V
)pip 20.0.2
What bindings you're using
No response
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
git clone [email protected]:cargo-lambda/cargo-lambda
maturin --release -o dist --strip -m crates/cargo-lambda-cli/Cargo.toml
dist-info/METADATA
doesn't includeRequires-Dist
.The text was updated successfully, but these errors were encountered: