[packages/python3-sphinx_codeautolink] - disable test_references failing on builders

qboosh qboosh at pld-linux.org
Sat Jul 5 13:37:51 CEST 2025


commit ed9d1d2ef60a2373ff4ce210852986b37525b954
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 5 13:39:18 2025 +0200

    - disable test_references failing on builders

 python3-sphinx_codeautolink.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python3-sphinx_codeautolink.spec b/python3-sphinx_codeautolink.spec
index ad23d01..dbf26cb 100644
--- a/python3-sphinx_codeautolink.spec
+++ b/python3-sphinx_codeautolink.spec
@@ -68,9 +68,10 @@ Dokumentacja API modułu Pythona sphinx_codeautolink.
 %py3_build_pyproject
 
 %if %{with tests}
+# test_references fail without network
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest tests
+%{__python3} -m pytest tests -k 'not test_references'
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_codeautolink.git/commitdiff/ed9d1d2ef60a2373ff4ce210852986b37525b954



More information about the pld-cvs-commit mailing list