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.

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok

--
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to