Bug#1085691: joblib: Tests do not work during build

Santiago Vila sanvila at debian.org
Mon Oct 21 17:41:40 BST 2024


Package: joblib
Version: 1.3.2-3
Tags: patch

Hi. The tests have been accidentally disabled in 1.3.2-3,
maybe because of the switch from distutils to setuptools
in commit [b9d36c3].

The attached trivial patch seems to fix it.

Thanks.
-------------- next part --------------
commit 50c8ded39d79fd179d21efe8ab6de45852e797b8
Author: Santiago Vila <sanvila at debian.org>
Date:   Mon Oct 21 17:56:46 2024 +0200

    Let dh_auto_test execute the tests automatically.

diff --git a/debian/rules b/debian/rules
index fa9c229..da1c5f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,5 @@ export PYBUILD_TEST_ARGS_python3 := -k "$(EXCLUDE_TESTS)"
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGES.rst
 
-override_dh_auto_test-indep:
-
 execute_after_dh_auto_build-indep:
 	SPHINXOPTS="$(SPHINXOPTS)" pybuild --build -i python3 -s custom --build-args '$(MAKE) -C {dir}/doc html'


More information about the debian-science-maintainers mailing list