On 14. 08. 24 18:21, Paul Howarth wrote:
You can use this opportunity to update your package to the current Python packaging guidelines, see e.g. https://src.fedoraproject.org/rpms/python-cachetools/pull-request/4
Affected 199 packages by maintainers based on a simple specfile grep for ^[^-#].+\bsetup.py\s+test\b
There are probably quite a few packages not caught by this, for example python-pycryptodomex, which has:
%check PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}/ %{__python3} %{py_setup} test
$ rg 'setup} test\b' python-journal-brief.spec 64:%{__python3} %{py_setup} test
python-pycryptodomex.spec 107:PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}/ %{__python3} %{py_setup} test
There might also be packages using tox with a tox.ini like this one: https://github.com/pycrypto/pycrypto/blob/master/tox.ini
Yeah, invocations hidden in tox.ini, Makefile, etc. are harder to grep for.
I might end up building everything in copr and grepping the logs for the error messages.