Re: Macronize %pytest

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

 



On Mon, Apr 27, 2020 at 11:58 AM Nicolas Mailhot
<nicolas.mailhot@xxxxxxxxxxx> 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).


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux