On 7/7/22 04:38, Miro Hrončok wrote:
> Should I do this in a mass change? Not so many packages use pytest -n
> auto in the spec:
>
> $ rg -l -- '(-n|--numprocesses)(\s*|=)auto(\s|$)'
> azure-cli.spec
As the azure-cli maintainer, I'm okay with that change.
> (Other packages have that in tox.ini or pytest config file, but I am not
> aiming at changing that here.)
>
> And, considering many other packages might want to benefit from that,
> should this be:
>
> 1) encouraged in the Python packaging guidelines
Of course! I always forget the "%{_smp_build_ncpus}" macro and end up
digging through macros to find how to spell it.
> 2) macronized (I was thinking %pytest_parallel, but TBD)
That's a good idea, but I don't know how much use it would get. 🤷🏻♂️
--
Major Hayden
_______________________________________________
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure