Skip to content
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

Publishing to PYPI fails with InvalidDistribution #2336

Closed
1 of 2 tasks
ritchie46 opened this issue Nov 29, 2024 · 2 comments
Closed
1 of 2 tasks

Publishing to PYPI fails with InvalidDistribution #2336

ritchie46 opened this issue Nov 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ritchie46
Copy link

ritchie46 commented Nov 29, 2024

Bug Description

The Polars release failed (twice) with:

Checking dist/polars-1.16.0-cp39-abi3-macosx_10_12_x86_64.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. 

See full log here: https://github.com/pola-rs/polars/actions/runs/12071878482/job/33689137587

Your maturin version (maturin --version)

latest (1.7.6)

Your Python version (python -V)

Your pip version (pip -V)

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 /)?

  • Yes

Steps to Reproduce

@ritchie46 ritchie46 added the bug Something isn't working label Nov 29, 2024
@messense
Copy link
Member

messense commented Nov 29, 2024

Duplicate of #2335, same underlying issue with twine not supporting metadata version 2.4 yet.

Consider use maturin 1.7.4 if you don't need to build for python3.13t free-threaded version.

@messense messense closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2024
@ritchie46
Copy link
Author

Great, will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants