On Tue, 2020-06-23 at 18:26 +0200, Tomas Hrnciar wrote:
there are plenty of Python packages in Fedora currently using
buildtime but not all of them are BuildRequiring it explicitly. This
because python3-devel (transitively) depends on python3-setuptools.
We would like to kindly ask you to add explicit BuildRequires for
python3-setuptools to packages where setuptools is used. It will help
with testing new versions of setuptools in the future or with
Python and setuptools. Today, if we want to know if a package is
setuptools, we have to do `fedpkg prep` and use grep to search for
setuptools. Using a repoquery is much more convenient.
Several packages can successfully build either with or without
(they use try-except import and fallback to distutils from the
library). Such packages are especially dangerous when not
setuptools -- they can produce different results depending on the
of setuptools: either an .egg-info metadata directory (w/setuptools)
.egg-info text file (w/distutils). RPM has troubles when upgrading
directories to files .
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
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net