[issue33069] Maintainer information discarded when writing PKG-INFO

2018-05-15 Thread Éric Araujo
Éric Araujo added the comment: See also #33388 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-30 Thread Éric Araujo
Éric Araujo added the comment: +1 to have a warning from distutils for cases not handled by older Metadata PEP. -- ___ Python tracker ___ __

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-20 Thread Paul Ganssle
Paul Ganssle added the comment: > Donald made an interesting suggestion over on > https://github.com/pypa/packaging-problems/issues/127#issuecomment-374401331, > which was to have distutils stop overwriting the Author metadata with the > Maintainer metadata when both are specified and instead

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-20 Thread Nick Coghlan
Nick Coghlan added the comment: Donald made an interesting suggestion over on https://github.com/pypa/packaging-problems/issues/127#issuecomment-374401331, which was to have distutils stop overwriting the Author metadata with the Maintainer metadata when both are specified and instead emit a

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-17 Thread Nick Coghlan
Nick Coghlan added the comment: I'm going to abuse the "third party" resolution type a bit and mark this as closed (at least for now) on the basis of "use setuptools instead if you want the improved behaviour". I've also opened https://github.com/pypa/packaging-problems/issues/127 to discuss

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-17 Thread Paul Ganssle
Paul Ganssle added the comment: I've fixed this in setuptools ( PR here: https://github.com/pypa/setuptools/pull/1294 ). Should we leave this open to track distutils upgrading to support all of PEP 345, or close this with "distutils will never support > 1.1". If the latter, maybe that shoul

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-15 Thread Nick Coghlan
Nick Coghlan added the comment: We allowed semi-standardised additional fields for an extended period with 1.2 (for Provides-Extra and Description-Content-Type), but folks mostly found it confusingly ambiguous, so Dustin created PEP 566 to define them officially as Metadata 1.3. Given that,

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-14 Thread Paul Ganssle
Paul Ganssle added the comment: One thing that's unclear to me is whether PKG-INFO metadata spec should be considered exhaustive or whether you can add additional fields and still be considered compliant with the spec. If the latter is true, I think there's some case to be made for populating

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-14 Thread Éric Araujo
Éric Araujo added the comment: I think that the proposed change is a good thing in itself, but if distutils only supports metadata 1.1 then it should comply with that spec. I expect most projects to be using setuptools these days (to support wheels for one thing), so keeping distutils unchang

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-14 Thread Paul Ganssle
Paul Ganssle added the comment: @ncoghlan Yes, setuptools is affected. I've reported it there as well: https://github.com/pypa/setuptools/issues/1288 I have patches for both distutils and setuptools prepared. The distutils patch is more controversial because this is apparently the documented

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-14 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the report and pull request. Do you happen to know if setuptools is also affected? If yes, the problem will need to be reported & fixed there as well (otherwise the maintainer metadata will still be missing for many publishers), if no, then using it

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +5869 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread Paul Ganssle
New submission from Paul Ganssle : This is basically the same as issue 962772, as there seems to have been a regression. The current version of distutils discards author= metadata if maintainer= is present, even though PEP 345 has added the Maintainer: and Maintainer-Email: metadata fields. I