Source: shiboken
Severity: normal
Tags: patch
User: debian-pyt...@lists.debian.org

Dear Maintainer,

The tests that fail with Python 3.4 and 3.5 also fail with 3.6. I've uploaded
the attached patch to Ubuntu, but perhaps given the overall status of the
package it would be best to just make the hack apply to all Python 3 versions...

Cheers,
mwh

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (400, 'xenial-proposed'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-78-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru shiboken-1.2.2/debian/changelog shiboken-1.2.2/debian/changelog
--- shiboken-1.2.2/debian/changelog	2017-05-16 03:59:33.000000000 +0000
+++ shiboken-1.2.2/debian/changelog	2017-06-07 00:19:48.000000000 +0000
@@ -1,3 +1,9 @@
+shiboken (1.2.2-3.1ubuntu1) artful; urgency=medium
+
+  * Extend hack to skip tests which still fail for py3.6. 
+
+ -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Tue, 06 Jun 2017 17:19:07 -0700
+
 shiboken (1.2.2-3.1build1) artful; urgency=medium
 
   * No change rebuild to add Python 3.6 support.
diff -Nru shiboken-1.2.2/debian/control shiboken-1.2.2/debian/control
--- shiboken-1.2.2/debian/control	2017-04-13 15:22:45.000000000 +0000
+++ shiboken-1.2.2/debian/control	2017-06-07 00:20:02.000000000 +0000
@@ -1,7 +1,8 @@
 Source: shiboken
 Section: devel
 Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
 Uploaders: Didier Raboud <o...@debian.org>
 Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 9), cmake (>= 2.8.4+dfsg.1-3~),
  libqt4-dev (>= 4:4.7.0),
diff -Nru shiboken-1.2.2/debian/rules shiboken-1.2.2/debian/rules
--- shiboken-1.2.2/debian/rules	2017-04-13 15:22:45.000000000 +0000
+++ shiboken-1.2.2/debian/rules	2017-06-07 00:18:52.000000000 +0000
@@ -131,6 +131,10 @@
 	# The tests for the other and sample libraries segfault. The same goes for the shiboken_module.
 	dh_auto_test -a --builddirectory=build-3.5-dbg -- ARGS="-E '^(other|sample|shiboken_module)'"
 
+override_dh_auto_test_dbg-3.6:
+	# The tests for the other and sample libraries segfault. The same goes for the shiboken_module.
+	dh_auto_test -a --builddirectory=build-3.5-dbg -- ARGS="-E '^(other|sample|shiboken_module)'"
+
 override_dh_auto_test-%:
 	dh_auto_test -a --builddirectory=build-$*
 

Reply via email to