Control: tags 1127512 + patch
Control: tags 1127512 + pending

Dear maintainer,

I've prepared an NMU for libcloud (versioned as 3.8.0+repack-5.1) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diffstat for libcloud-3.8.0+repack libcloud-3.8.0+repack

 changelog                             |    7 +++++
 patches/0001-Fix-error-in-py313.patch |   43 ++++++++++++++++++++++++++++++++++
 patches/series                        |    1 
 3 files changed, 51 insertions(+)

diff -Nru libcloud-3.8.0+repack/debian/changelog libcloud-3.8.0+repack/debian/changelog
--- libcloud-3.8.0+repack/debian/changelog	2025-09-29 16:50:13.000000000 +0300
+++ libcloud-3.8.0+repack/debian/changelog	2026-03-25 14:46:47.000000000 +0200
@@ -1,3 +1,10 @@
+libcloud (3.8.0+repack-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS. (Closes: #1127512)
+
+ -- Adrian Bunk <[email protected]>  Wed, 25 Mar 2026 14:46:47 +0200
+
 libcloud (3.8.0+repack-5) unstable; urgency=medium
 
   * Team Upload
diff -Nru libcloud-3.8.0+repack/debian/patches/0001-Fix-error-in-py313.patch libcloud-3.8.0+repack/debian/patches/0001-Fix-error-in-py313.patch
--- libcloud-3.8.0+repack/debian/patches/0001-Fix-error-in-py313.patch	1970-01-01 02:00:00.000000000 +0200
+++ libcloud-3.8.0+repack/debian/patches/0001-Fix-error-in-py313.patch	2026-03-25 14:46:12.000000000 +0200
@@ -0,0 +1,43 @@
+From 46b2d1baef742b57d05c2e71edbec34e1c8eab67 Mon Sep 17 00:00:00 2001
+From: Miguel Caballer <[email protected]>
+Date: Tue, 17 Feb 2026 08:55:42 +0100
+Subject: Fix error in py313
+
+---
+ libcloud/test/common/test_openstack_identity.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/libcloud/test/common/test_openstack_identity.py b/libcloud/test/common/test_openstack_identity.py
+index 8f6b55066..139ccbed6 100644
+--- a/libcloud/test/common/test_openstack_identity.py
++++ b/libcloud/test/common/test_openstack_identity.py
+@@ -235,7 +235,7 @@ class OpenStackIdentityConnectionTestCase(unittest.TestCase):
+         osa.auth_token = None
+         osa.auth_token_expires = YESTERDAY
+ 
+-        mocked_auth_method.call_count = 0
++        mocked_auth_method.reset_mock()
+         self.assertEqual(mocked_auth_method.call_count, 0)
+ 
+         for i in range(0, count):
+@@ -246,7 +246,7 @@ class OpenStackIdentityConnectionTestCase(unittest.TestCase):
+         # No force reauth, valid / non-expired token
+         osa.auth_token = None
+ 
+-        mocked_auth_method.call_count = 0
++        mocked_auth_method.reset_mock()
+         self.assertEqual(mocked_auth_method.call_count, 0)
+ 
+         for i in range(0, count):
+@@ -264,7 +264,7 @@ class OpenStackIdentityConnectionTestCase(unittest.TestCase):
+         )
+         osa.auth_token = None
+ 
+-        mocked_auth_method.call_count = 0
++        mocked_auth_method.reset_mock()
+         self.assertEqual(mocked_auth_method.call_count, 0)
+ 
+         for i in range(0, count):
+-- 
+2.47.3
+
diff -Nru libcloud-3.8.0+repack/debian/patches/series libcloud-3.8.0+repack/debian/patches/series
--- libcloud-3.8.0+repack/debian/patches/series	2025-09-29 16:23:25.000000000 +0300
+++ libcloud-3.8.0+repack/debian/patches/series	2026-03-25 14:46:45.000000000 +0200
@@ -7,3 +7,4 @@
 gitignore.patch
 pytest-8.2.patch
 remove-DSA-keys.patch
+0001-Fix-error-in-py313.patch

Reply via email to