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

Switch build system to hatchling #421

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Switch build system to hatchling #421

merged 1 commit into from
Jan 20, 2025

Conversation

mathialo
Copy link
Collaborator

setuptools produces straight-up invalid wheel files. From PyPI when trying to publish:

Upload failed with status code 400 Bad Request. Server says: 400
license-file introduced in metadata version 2.4, not 2.2. See
https://packaging.python.org/specifications/core-metadata for more
information.

I tried rebuilding the packages locally, and saw the same discrepancy in the wheel file. Hatchling gets it right, it's also much nicer to configure.

setuptools produces straight-up invalid wheel files. From PyPI when
trying to publish:

```
Upload failed with status code 400 Bad Request. Server says: 400
license-file introduced in metadata version 2.4, not 2.2. See
https://packaging.python.org/specifications/core-metadata for more
information.
```

I tried rebuilding the packages locally, and saw the same discrepancy in
the wheel file. Hatchling gets it right, it's also much nicer to
configure.
@mathialo mathialo requested a review from a team as a code owner January 20, 2025 08:26
Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.54%. Comparing base (fd9495d) to head (e039c7e).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #421   +/-   ##
=======================================
  Coverage   75.54%   75.54%           
=======================================
  Files          41       41           
  Lines        3398     3398           
=======================================
  Hits         2567     2567           
  Misses        831      831           

see 2 files with indirect coverage changes

@mathialo mathialo merged commit c7a5f01 into master Jan 20, 2025
5 checks passed
@mathialo mathialo deleted the use-hatch branch January 20, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants