Closed henryiii closed 2 months ago
I'm pretty sure the assignment of __author__
is also broken, based on the reported DeprecationWarnings.
Yes, I think you are right. These dunder attributes aren't a standard anyway (a failed standard, technically), I wonder if it would be fine to just remove them?
"wheel" should also be removed from pyproject.toml.
Setting the metaadata version too high is now a warning instead of an error; how should that be handled? Covert to error, or just test for the warning?
Ahh, needs #1123. I can rebase on that.
You won't actually be able to release without yanking 5.1.0, though, since https://github.com/pypa/twine/blob/6fbf880ee60915cf1666348c4bdd78a10415f2ac/.github/workflows/release.yml#L79 is broken due to twine being broken! :)
Hmm, looks like it's pinned, not sure why https://github.com/pypa/gh-action-pypi-publish/issues/246 exists then.
I've changed the base of the PR to target the branch for #1123 so that the diff is apparent. I expect GitHub to re-target main after #1123 is merged.
A very similar patch was proposed in #1115. Perhaps we should accept that instead, since it was proposed first. Also, it re-uses the email module to parse the email field, which seems preferable.
A very similar patch was proposed in #1115. Perhaps we should accept that instead, since it was proposed first. Also, it re-uses the email module to parse the email field, which seems preferable.
Makes sense. They went through all the effort 28 days ago to fix it...
Okay, I'm going to close this to make sure that one is the one that goes in. I like the usage of the email module better too.
Alternative to #1124, fixing the issue rather than hiding the error. Requires #1123.