Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package libsass-python The version in testing has bug #980628 which is a FTBFS because of unported tests. So let's skip those tests for now : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980628#19 The builds worked fine : https://buildd.debian.org/status/package.php?p=libsass-python See attached the debdiff for the changes. unblock libsass-python/0.20.1-3 Thanks! Regards F.
diff -Nru libsass-python-0.20.1/debian/changelog libsass-python-0.20.1/debian/changelog --- libsass-python-0.20.1/debian/changelog 2020-11-06 11:23:10.000000000 +0100 +++ libsass-python-0.20.1/debian/changelog 2021-04-07 12:28:16.000000000 +0200 @@ -1,3 +1,10 @@ +libsass-python (0.20.1-3) unstable; urgency=medium + + * Use pytest instead of unittest to run tests and disable unported + tests (Closes: #980628) + + -- Frédéric Bonnard <fre...@debian.org> Wed, 07 Apr 2021 12:28:16 +0200 + libsass-python (0.20.1-2) unstable; urgency=medium * Avoid code download during doc build (Closes: #972140) diff -Nru libsass-python-0.20.1/debian/rules libsass-python-0.20.1/debian/rules --- libsass-python-0.20.1/debian/rules 2020-09-08 14:40:03.000000000 +0200 +++ libsass-python-0.20.1/debian/rules 2021-04-07 12:18:13.000000000 +0200 @@ -25,10 +25,14 @@ override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + # Skip DistutilsTestCase.* to not rebuild sass again + # + # FIXME : skip test_build_one test_stack_trace_formatting : to reenable once + # libsass gets past 3.6.4 (see #980628 and upstream issue) pybuild -s custom --test -p "$(shell py3versions -vr)" \ --test-args="cd {build_dir}; \ - sed -i '/^class DistutilsTestCase.*/i @unittest.skip(\"Do not build sass again\")' sasstests.py; \ - {interpreter} -m unittest sasstests" + {interpreter} -m pytest -k 'not DistutilsTestCase \ + and not test_build_one and not test_stack_trace_formatting' sasstests.py" endif override_dh_auto_clean:
signature.asc
Description: PGP signature