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

Can't publish to PyPI because of error with license-file #219

Open
yehoshuadimarsky opened this issue Dec 2, 2024 · 0 comments
Open

Can't publish to PyPI because of error with license-file #219

yehoshuadimarsky opened this issue Dec 2, 2024 · 0 comments
Assignees

Comments

@yehoshuadimarsky
Copy link
Owner

See https://github.com/yehoshuadimarsky/bcpandas/actions/runs/12110997461/job/33762204819

Appears to be related to astral-sh/uv#9513 and pypa/setuptools#4759. Worked fine with uv 0.5.4, breaks in 0.5.5, but this sounds like it should have broken the whole time

Publishing 2 files https://upload.pypi.org/legacy/
Uploading bcpandas-2.7.1-py3-none-any.whl (20.2KiB)
error: Failed to publish `dist/bcpandas-2.7.1-py3-none-any.whl` to https://upload.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.1. See https://packaging.python.org/specifications/core-metadata for more information.
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

No branches or pull requests

1 participant