-
Notifications
You must be signed in to change notification settings - Fork 140
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
Wrong/misleading metadata if multiple maintainers are set #720
Comments
I agree that's a bit confusing. It does seem to be what the spec for interpreting pyproject.toml metadata says:
Old versions of the metadata spec have Author-Email as a required field, and that has a more defined structure, so filling that is preferred if possible. I think the metadata (output) format is barely designed for multiple authors/maintainers, though, let alone mixing names with & without email addresses. Maybe there's enough wiggle room there to do something like this: 🤔
|
Thanks for the answer.
Strangely enough, the For me as the maintainer, I do not have a strong opinion. On the other hand, I know that some popular tools like |
Apparently, this leads to some interesting side effects on PyPI as well, where my name is set as the maintainer, but linking to the e-mail address of Martin ... |
I've opened #721 for this. It should ensure that if anyone in the list doesn't provide an email address, all the names go in the Author/Maintainer metadata. |
Thanks. Having a quick look at the proposed PR, this looks fine for me. |
I'm not sure it should be changed in Most are in agreement that PyPI should simply concatenate the metadata from email and non-email fields. I.e. for the original example it would be Another argument against changing it in flit is that the current output matches that of other backends like |
Thanks for the heads up. It doesn't exactly look like that PyPI issue is going to be resolved any time soon, though. I might post on discuss.python.org to see if we can get this resolved. |
Here's the thread for that discussion: https://discuss.python.org/t/combining-author-maintainer-names-emails-in-core-metadata/81011 |
Thanks for starting the discussing again! Let's see if it can reach a resolution this time. Would be awesome to have a new release with PEP 639 support soon. |
Yup, I agree, I'll keep this as is for now and make a new release. I think #721 is probably more or less what we want to do, but I'd rather not release that and then change the logic again if the discussion goes in a different direction. |
At pypdf, we recently added a second maintainer:
This leads to some strange/misleading metadata files:
I would have expected something like this:
The text was updated successfully, but these errors were encountered: