From e94aae030cb28df7756417ff10337f10850b79e4 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 24 Apr 2023 18:58:43 +0200 Subject: [PATCH] Release 0.7.0-2 with segfault fix on s390x --- debian/changelog | 8 ++++++++ debian/patches/copy_ext_invalid.patch | 18 ++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 27 insertions(+) create mode 100644 debian/patches/copy_ext_invalid.patch diff --git a/debian/changelog b/debian/changelog index c40a3a0..14bae06 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +python-pylibacl (0.7.0-2) unstable; urgency=medium + + * Disable an unsafe upstream test since it causes segfaults on (at + least) s390x; similar tests were fixed to workaround the issue, but + this one was missed. + + -- Iustin Pop Mon, 24 Apr 2023 18:58:03 +0200 + python-pylibacl (0.7.0-1) unstable; urgency=medium [ Debian Janitor ] diff --git a/debian/patches/copy_ext_invalid.patch b/debian/patches/copy_ext_invalid.patch new file mode 100644 index 0000000..13ee79a --- /dev/null +++ b/debian/patches/copy_ext_invalid.patch @@ -0,0 +1,18 @@ +Disable an upstream test that is unsafe +--- a/tests/test_acls.py ++++ b/tests/test_acls.py +@@ -570,10 +570,10 @@ + assert c != b + assert c == a + +- @require_copy_ext +- def test_acl_init_copy_ext_invalid(self): +- with pytest.raises(IOError): +- posix1e.ACL(data=b"foobar") ++ #@require_copy_ext ++ #def test_acl_init_copy_ext_invalid(self): ++ # with pytest.raises(IOError): ++ # posix1e.ACL(data=b"foobar") + + + class TestWrite: diff --git a/debian/patches/series b/debian/patches/series index a446155..1c66021 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ python-pylibacl_hurd.patch sphinx-1.3.patch +copy_ext_invalid.patch -- 2.39.2