You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With maturin 1.7.6, the wheel file generated by pip wheel won't be validated with twine check with twine >= 5.1.1.
The root cause seems that maturin 1.7.6 switched to metadata version to 2.4, which is not yet supported by twine 5.1.1 - so this might have to be addressed on twine side and it seems that there is the PR for this.
So,the reason I opened this issue is not to request fix this issue on maturin side- rather, I intend this issue to be a note for anyone else who encountered this situation. If this is inappropriate, please feel free to close this.
Your maturin version (maturin --version)
1.7.6
Your Python version (python -V)
3.9.20
Your pip version (pip -V)
pip 23.0.1
What bindings you're using
pyo3
Does cargo build work?
Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Checking dist/my-package-cp39-cp39-macosx_11_0_arm64.whl: ERROR InvalidDistribution: Metadata is missing required fields: Name, Version.
Make sure the distribution includes the files where those fields are specified, and is using a supported Metadata-Version: 1.0, 1.1, 1.2, 2.0,
2.1, 2.2, 2.3.
The text was updated successfully, but these errors were encountered:
Bug Description
With maturin 1.7.6, the wheel file generated by
pip wheel
won't be validated withtwine check
with twine >= 5.1.1.The root cause seems that maturin 1.7.6 switched to metadata version to
2.4
, which is not yet supported by twine 5.1.1 - so this might have to be addressed on twine side and it seems that there is the PR for this.So,the reason I opened this issue is not to request fix this issue on maturin side- rather, I intend this issue to be a note for anyone else who encountered this situation. If this is inappropriate, please feel free to close this.
Your maturin version (
maturin --version
)1.7.6
Your Python version (
python -V
)3.9.20
Your pip version (
pip -V
)pip 23.0.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
pip wheel
[email protected] check
, then it complains as follows:The text was updated successfully, but these errors were encountered: