-
Notifications
You must be signed in to change notification settings - Fork 36
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
1.2.17 pypi ships without LICENSE.rst file. #83
Comments
Hi @Odilhao, Thank you for reporting this issue. During the build process for the .tar.gz and .whl packages of the Deprecated project, I encountered a compatibility issue related to the At the time, removing the After investigating, I believe the issue was caused by an outdated I will release version v1.2.18 shortly, which will include the missing Regards |
Actually, I still have the issue when publishing on PyPi (test) with % uv publish --index testpypi
warning: `uv publish` is experimental and may change without warning
Publishing 2 files https://test.pypi.org/legacy/
Enter username ('__token__' if using a token): __token__
Enter password:
Uploading deprecated-1.2.17-py2.py3-none-any.whl (9.8KiB)
error: Failed to publish `dist/Deprecated-1.2.17-py2.py3-none-any.whl` to https://test.pypi.org/legacy/
Caused by: 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. But I don’t have the issue with % twine upload -r testpypi dist/*
Uploading distributions to https://test.pypi.org/legacy/
Uploading Deprecated-1.2.17-py2.py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.5/21.5 kB • 00:00 • 38.7 MB/s
Uploading deprecated-1.2.17.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB • 00:07 • 390.7 kB/s
View at:
https://test.pypi.org/project/Deprecated/1.2.17/ |
Thanks @laurent-laporte-pro , I can see now the package test passing with the addition of LICENSE file. |
Looks like starting with version 1.2.16, the pypi tar.gz distribution is not shipping with
LICENSE.rst
is this expected?We just caught this up in our automation at Foreman.
The text was updated successfully, but these errors were encountered: