-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
importlib metadata 8.0 causes unusual errors in startup for twine, others(?) #492
Comments
Just observed this issue. |
Looks like this is because of #491 It seems like this was intentional and I guess |
I am also here due to the incompatibility with twine. I'm a little confused about the versioning. https://pypi.org/project/importlib-metadata/ has 8.0.0, but the last github release showing here at this writing is 7.2.1. There is an 8.0.0 tag, though. I got here too late to see whether 8.0.0 ever existed as a github release, or whether it was deleted. But the pypi 8.0.0 isn't yanked. |
I was able to confirm the deprecation warnings were being issued, so it seems this should be fixed in
8.0.0 isn't listed on the readme yet because it hasn't be synchronized with the Python upstream, so there's no equivalent |
twine yanked 5.1.0 and released 5.1.1 to fix this problem. Ref: pypa/twine#1125 |
Sorry for the disruption. Yes, the automated release of 8.0.0 failed due to the incompatibility with twine, which I was able to get fixed. I would have fixed it faster, but the twine review/release process is slow and requires two people and I was the only person actively working on it, and there was already outstanding breakage from unrelated issues blocking CI and automated releases. I was able to work around the release limitation coincidentally because there was already a 5.1.1 release drafted that I was able to amend. I considered yanking importlib_metadata 8 also, but since the breakage was by design and the issue could be worked around by yanking a single version of the affected project, I chose that route instead. The reason the github release is missing for the 8.0 tag is because the automated release process failed and I manually uploaded the release. I've created the github release now for consistency:
|
Using any python interpreter, here I use podman to run the "python" docker container to get a clean environment, install "twine". Then run from the command line. it fails. downgrade importlib-metadata<8.0, works again.
downgrade importlib-metadata:
error goes away:
The text was updated successfully, but these errors were encountered: