On Mon, Apr 27, 2020 at 11:58 AM Nicolas Mailhot nicolas.mailhot@laposte.net wrote:
Le lundi 27 avril 2020 à 11:34 +0200, Miro Hrončok a écrit :
Hello Python packagers,
Usage:
%check %pytest
Or with options passed to pyets:
%check %pytest -v -m "not network" tests/
I ended up renaming similar macros as %foocheck (after several false starts).
Having a domain-specific macro named slightly differently than the rpm section it is supposed to occur in was tripping packagers all the time.
The problem in Python land is that there are multiple different options for tests, even with setuptools or whatnot. So some knowledge of the tool is required, since there is no standardized interface anymore (setup.py test is going away).
python-devel@lists.fedoraproject.org