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

Work around setuptools license file metadata issue #666

Conversation

rcwbr
Copy link
Contributor

@rcwbr rcwbr commented Jan 10, 2025

The latest 0.75.0 release failed to publish to PyPi. This appears to be a known behavior of setuptools/uv due to a change to supported metadata.

This change implements a suggested workaround, and worked for me when testing.

It appeared to keep the correct license metadata on PyPi, since this field seems to be an optional addition to the project.license.file field.

Happy to implement any feedback, please lmk!

@gabrieldemarmiesse gabrieldemarmiesse merged commit c3b82f3 into gabrieldemarmiesse:master Jan 10, 2025
21 checks passed
@gabrieldemarmiesse
Copy link
Owner

Thanks, I hope it works! I'll trigger another release tonight and follow more closely. My bad really, I've been focusing a lot on work these last few weeks

@gabrieldemarmiesse
Copy link
Owner

The fix worked! Thanks a lot @rcwbr !!!

@rcwbr
Copy link
Contributor Author

rcwbr commented Jan 11, 2025

No worries at all, happy to help!

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