-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
License-File
core metadata field not emitted
#1828
Comments
We were previously not uploading all metadata in the formdata of an upload request in the legacy api. Notably, we were missing the PEP 639 license-files field. I had to switch to pdm due to pypa/hatch#1828
We were previously not uploading all metadata in the formdata of an upload request in the legacy api. Notably, we were missing the PEP 639 license-files field. I had to switch to pdm due to pypa/hatch#1828
That field was introduced in metadata version 2.4 which is not yet the default. You can set the version until that happens, probably in a few days. |
I see that it's so critical for you that you're switching to PDM... so I guess I have to do this today. |
This is our internal test code. The tension here is that it allows me setting |
That would have been breaking everybody because PyPI rejected 2.4 uploads until last week. |
Yeah, in my read using |
I was going to release for you but it looks like if I change the default everybody will be broken at the moment because the recommended upload action doesn't support 2.4 yet: |
Please don't feel any pressure to make a release for me, i'm fine with the release test script as-is (this does not touch uv in general, this is plumbing to have integration testing for |
We were previously not uploading all metadata in the formdata of an upload request in the legacy api. Notably, we were missing the PEP 639 license-files field. I had to switch to pdm due to pypa/hatch#1828
It seems that hatchling is emitting the
License
key in metadata for PEP 639 and including the glob-matched files in the correct directory, but it is not emitting theLicense-File
key.Input:
Output:
METADATA in dist/test_token-0.1.0-py2.py3-none-any.whl:
The text was updated successfully, but these errors were encountered: