[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986558: marked as done (unblock: libsass-python/0.20.1-3)



Your message dated Wed, 07 Apr 2021 14:10:33 +0000
with message-id <E1lU8t7-0006HU-3R@respighi.debian.org>
and subject line unblock libsass-python
has caused the Debian Bug report #986558,
regarding unblock: libsass-python/0.20.1-3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
986558: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986558
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@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 <frediz@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:

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: