Closed duerrsimon closed 7 months ago
Thanks will take a look! What version of twine are you using @duerrsimon ?
It works with
twine version 5.0.0 (importlib-metadata: 7.0.2, keyring: 24.3.1, pkginfo:
1.10.0, requests: 2.31.0, requests-toolbelt: 1.0.0, urllib3: 2.2.1)
I believe the twine version before was 4.0.2. This is the only twine I could find in dist-info
in my lib/python3.9/site-packages
This is a bug with twine: https://github.com/pypa/twine/issues/1070. same thing happened last night during the gradio release.
twine does not set a required version of pkginfo, so when hatch updated, twine didn't know how to read the metadata.
I don't think there's much we can do beyond raising an error in gradio. Will look into that.
Describe the bug
gradio cc publish fails on Python 3.9 with the following error:
Have you searched existing issues? 🔎
Reproduction
See above, the exact same package can be published after upgrading to python 3.10
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it