Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package python-aioxmpp Fixes the FTBFS issue #924801 by backporting an upstream commit. diff -Nru python-aioxmpp-0.10.3/debian/changelog python- aioxmpp-0.10.3/debian/changelog --- python-aioxmpp-0.10.3/debian/changelog 2019-02-23 16:54:49.000000000 +0100 +++ python-aioxmpp-0.10.3/debian/changelog 2019-03-21 17:00:14.000000000 +0100 @@ -1,3 +1,15 @@ +python-aioxmpp (0.10.3-3) unstable; urgency=medium + + * Fix test failure due to updated Python 3.7. This applies the + unreleased upstream commit 13ab00d [1]. + + [1]: https://github.com/horazont/aioxmpp/commit/ + 13ab00d64094b9a13d9d6984d7509bb40efb1fce + + closes: #924801 + + -- Jonas Schäfer <jo...@wielicki.name> Thu, 21 Mar 2019 17:00:14 +0100 + python-aioxmpp (0.10.3-2) unstable; urgency=medium * Use CI=true mode [1] for tests during package build, to prevent diff -Nru python-aioxmpp-0.10.3/debian/patches/python37-tests-compat.patch python-aioxmpp-0.10.3/debian/patches/python37-tests-compat.patch --- python-aioxmpp-0.10.3/debian/patches/python37-tests-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ python-aioxmpp-0.10.3/debian/patches/python37-tests-compat.patch 2019-03-21 17:00:14.000000000 +0100 @@ -0,0 +1,20 @@ +diff --git a/tests/xso/test_model.py b/tests/xso/test_model.py +index b6d2e29..b1a2a75 100644 +--- a/tests/xso/test_model.py ++++ b/tests/xso/test_model.py +@@ -2200,13 +2200,9 @@ class TestXSO(XMLTestCase): + ) + + def test_init_takes_no_arguments(self): +- with self.assertRaisesRegex( +- TypeError, +- r"takes no (parameters|arguments)"): ++ with self.assertRaises(TypeError): + xso.XSO("foo") +- with self.assertRaisesRegex( +- TypeError, +- r"takes no (parameters|arguments)"): ++ with self.assertRaises(TypeError): + xso.XSO(bar="foo") + + def test_init_forwards_to_base_class(self): diff -Nru python-aioxmpp-0.10.3/debian/patches/series python- aioxmpp-0.10.3/debian/patches/series --- python-aioxmpp-0.10.3/debian/patches/series 2019-01-12 22:35:42.000000000 +0100 +++ python-aioxmpp-0.10.3/debian/patches/series 2019-03-21 17:00:14.000000000 +0100 @@ -1,3 +1,4 @@ workaround-dh_python3-dep-issue.patch remove-github-button.patch remove-ci-buttons.patch +python37-tests-compat.patch unblock python-aioxmpp/0.10.3-3 -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing- debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash