On Tue, 23 Jun 2020 at 18:37, Adam Williamson <adamw...@fedoraproject.org>
wrote:

> IMBW, but I think I recall the Python packaging guidelines specifically
> said that you could or should (I forget which) just BR python-devel and
> not BR python-setuptools at some point. At this point there seems to be
> no explicit mention, but the sample spec file looks a lot like a
> project that uses setuptools, but does not explicitly BuildRequire
> it...
>
>From the Python packaging guidelines here:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
*Packages building for Python 3 will need BuildRequires: python3-devel.*
And also this:

*Packages MAY use the automatic Python dependency generator. This generator
uses upstream egg/dist metadata (such as setuptool’s install_requires
<https://python-packaging.readthedocs.io/en/latest/dependencies.html>) *

Considering the file vs dir difference in metadata storage, I would say
it's fair to expect dependencies to be strict.
I myself don't have any Python packages yet, but I'll try to pay extra
attention to python3-setuptools in the future :).
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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/devel@lists.fedoraproject.org

Reply via email to