[packages/python3-packaging] ensure built module has precedence over system installed one when running tests

atler atler at pld-linux.org
Thu Jun 22 15:26:17 CEST 2023


commit 1fecff9ab8882704489deea1bffcd094a1e6d484
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jun 22 14:39:22 2023 +0200

    ensure built module has precedence over system installed one when running tests

 python3-packaging.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python3-packaging.spec b/python3-packaging.spec
index 8a75913..808811f 100644
--- a/python3-packaging.spec
+++ b/python3-packaging.spec
@@ -64,6 +64,7 @@ EOF
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/build-3/lib \
 %{__python3} -m pytest
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-packaging.git/commitdiff/1fecff9ab8882704489deea1bffcd094a1e6d484



More information about the pld-cvs-commit mailing list