Macronize %pytest

2020-04-27 Thread Miro Hrončok
Hello Python packagers, since there is no upstream supported universal test invocation for Python (`python setup.py test` is deprecated and the de-facto-standard `tox` doesn't always do what we want in RPM's %check and/or is not always used by upstreams) and a lot of upstreams use pytest, I'd

Re: Macronize %pytest

2020-04-27 Thread Scott Talbert
On Mon, 27 Apr 2020, Miro Hrončok wrote: Hello Python packagers, since there is no upstream supported universal test invocation for Python (`python setup.py test` is deprecated and the de-facto-standard `tox` doesn't always do what we want in RPM's %check and/or is not always used by upstrea

Re: [Fedora-packaging] Re: Macronize %pytest

2020-04-27 Thread Neal Gompa
On Mon, Apr 27, 2020 at 11:58 AM Nicolas Mailhot 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/