-
Notifications
You must be signed in to change notification settings - Fork 137
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 metadata is checked but then discarded #525
Comments
I'm waiting for PEP 639 before reworking the options for license metadata. The TODO comment in that code explains why it doesn't put the license from |
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
setuptools doesn't work without `setup.cfg`/`setup.py`. flint had some minor issues - pypa/flit#525 / pypa/flit#488 poetry does not support namespace packages
I am the taking-too-long-to-finish author of PEP639... IMHO you should not wait to include license metadata. |
I think Hatchling is doing the wrong thing there, though it's not entirely clear, because there isn't really a right thing. It has chosen to read the file and include the full contents as the Part of PEP 639 is to include a new |
Oh, and there's also an issue open on PyPI for how it displays really long license fields: pypi/warehouse#12392 |
Is there a solution to this? I get the error described when building Hatchling v1.7.0 with Flit 3.9.0. |
Maybe this could be revisited now that [PEP 639] has provisional status. Some packages already use the license text field to specify the SPDX identifier of the license which results in PyPI returning this information in via the API in the |
You can put a
license
in yourpyproject.toml
and flit will check to make sure it has the correct form, but will then just throw it away rather than include it in the metadata.flit/flit_core/flit_core/config.py
Lines 469 to 493 in 6982fae
The text was updated successfully, but these errors were encountered: