On 14. 06. 21 2:23, Toshio Kuratomi wrote:
What do you/the packaging macros do when a pypi name is taken by two different packages? (For instance, how setuptools and distribute used the same name)
The PyPI names for those are "setuptools" and "distribute". These don't conflict. They do conflict in the importable module name, i.e. what you get when you `import setuptools`. This is usually a file-level conflict and should be handled as such.
The main problem here, as I see it, is that in distribute's case, the PyPI name doesn't match the importable module name. That's bad, and the guidelines recommend not having this problem, but usually you can't really solve this in Fedora.
-Toshio
On Fri, Jun 11, 2021, 6:24 AM Petr Viktorin <pviktori@redhat.com mailto:pviktori@redhat.com> wrote:
I've proposed the new guidelines as a Fedora change: https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x <https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x> A discussion thread should pop up on devel@lists.fedoraproject.org <mailto:devel@lists.fedoraproject.org> soon. _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org <mailto:python-devel@lists.fedoraproject.org> To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org <mailto:python-devel-leave@lists.fedoraproject.org> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ <https://docs.fedoraproject.org/en-US/project/code-of-conduct/> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines <https://fedoraproject.org/wiki/Mailing_list_guidelines> List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org <https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure <https://pagure.io/fedora-infrastructure>
python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproje... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure