Re: Please BuildRequire python3-setuptools explicitly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Jun 2020 at 18:37, Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx> 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)

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux