Ran into the same problem. I've upgraded to to latest versions of pkginfo and twine and still no luck. After reading a comment in this thread here, I pinned setuptools==75.6.0 and it worked. Not a great solution, but my package uploaded.