Control: tags 1025024 + patch Control: tags 1025024 + pending Dear maintainer, I've prepared an NMU for python-boto (versioned as 2.49.0-4.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru python-boto-2.49.0/debian/changelog python-boto-2.49.0/debian/changelog
--- python-boto-2.49.0/debian/changelog 2021-12-19 16:45:16.000000000 +0100
+++ python-boto-2.49.0/debian/changelog 2022-12-15 07:50:01.000000000 +0100
@@ -1,3 +1,10 @@
+python-boto (2.49.0-4.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add patch to fix autopkgtests (Closes: #1025024)
+
+ -- Jochen Sprickerhof <jspricke@debian.org> Thu, 15 Dec 2022 07:50:01 +0100
+
python-boto (2.49.0-4) unstable; urgency=medium
* Add patch to fix importing from collections (Closes: #1001395).
diff -Nru python-boto-2.49.0/debian/patches/0005-Don-t-mock-list-subclass.patch python-boto-2.49.0/debian/patches/0005-Don-t-mock-list-subclass.patch
--- python-boto-2.49.0/debian/patches/0005-Don-t-mock-list-subclass.patch 1970-01-01 01:00:00.000000000 +0100
+++ python-boto-2.49.0/debian/patches/0005-Don-t-mock-list-subclass.patch 2022-12-15 07:45:17.000000000 +0100
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <jspricke@debian.org>
+Date: Thu, 15 Dec 2022 07:44:54 +0100
+Subject: Don't mock list subclass
+
+---
+ tests/unit/ec2/test_volume.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/unit/ec2/test_volume.py b/tests/unit/ec2/test_volume.py
+index 81d7f55..d4d8e4f 100644
+--- a/tests/unit/ec2/test_volume.py
++++ b/tests/unit/ec2/test_volume.py
+@@ -55,7 +55,7 @@ class VolumeTests(unittest.TestCase):
+ @mock.patch("boto.resultset.ResultSet")
+ def test_startElement_with_name_tagSet_calls_ResultSet(self, ResultSet, startElement):
+ startElement.return_value = None
+- result_set = mock.Mock(ResultSet([("item", Tag)]))
++ result_set = ResultSet([("item", Tag)])
+ volume = Volume()
+ volume.tags = result_set
+ retval = volume.startElement("tagSet", None, None)
diff -Nru python-boto-2.49.0/debian/patches/series python-boto-2.49.0/debian/patches/series
--- python-boto-2.49.0/debian/patches/series 2021-12-19 16:45:16.000000000 +0100
+++ python-boto-2.49.0/debian/patches/series 2022-12-15 07:45:17.000000000 +0100
@@ -2,3 +2,4 @@
Use-python-six-from-Debian-instead-of-vendored-copy.patch
bug-953970_python3.8-compat.patch
fix-importing-from-collections.patch
+0005-Don-t-mock-list-subclass.patch
Attachment:
signature.asc
Description: PGP signature