summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Goirand <zigo@debian.org>2025-12-23 15:46:18 +0100
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2025-12-23 22:48:40 +0000
commit8f1f0b04c1184d6866d23c054d7b424dbfe2595e (patch)
tree44f97d636533642a1918a45338661311b3739ae4
parentf13dc2f13492e3ecb8df4e626557ea36ae623a2a (diff)
parent237cd04329a224775d8c7e8cb93d069748027d14 (diff)
8.2.0-8 (patches applied)applied/8.2.0-8
Imported using git-ubuntu import.
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/add-missing-backup_id-field.patch42
-rw-r--r--debian/patches/series1
-rw-r--r--openstackclient/tests/unit/volume/v3/test_volume.py4
4 files changed, 53 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d7f21bc..056cb42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-openstackclient (8.2.0-8) unstable; urgency=medium
+
+ * Add add-missing-backup_id-field.patch (Closes: #1123450).
+
+ -- Thomas Goirand <zigo@debian.org> Tue, 23 Dec 2025 15:46:18 +0100
+
python-openstackclient (8.2.0-7) unstable; urgency=medium
* Removed Gustavo Panizzo from uploaders (Closes: #1114572).
diff --git a/debian/patches/add-missing-backup_id-field.patch b/debian/patches/add-missing-backup_id-field.patch
new file mode 100644
index 0000000..5efff0e
--- /dev/null
+++ b/debian/patches/add-missing-backup_id-field.patch
@@ -0,0 +1,42 @@
+Description: Add missing backup_id field
+Author: Luan Utimura <luan.utimura@luizalabs.com>
+Bug-Debian: https://bugs.debian.org/1123450
+Origin: upstream, https://review.opendev.org/c/openstack/python-openstackclient/+/971255
+Last-Update: 2025-12-23
+
+Index: python-openstackclient/openstackclient/tests/unit/volume/v3/test_volume.py
+===================================================================
+--- python-openstackclient.orig/openstackclient/tests/unit/volume/v3/test_volume.py
++++ python-openstackclient/openstackclient/tests/unit/volume/v3/test_volume.py
+@@ -37,6 +37,7 @@ class TestVolumeCreate(volume_fakes.Test
+ columns = (
+ 'attachments',
+ 'availability_zone',
++ 'backup_id',
+ 'bootable',
+ 'cluster_name',
+ 'consistencygroup_id',
+@@ -78,6 +79,7 @@ class TestVolumeCreate(volume_fakes.Test
+ self.datalist = (
+ self.volume.attachments,
+ self.volume.availability_zone,
++ self.volume.backup_id,
+ self.volume.is_bootable,
+ self.volume.cluster_name,
+ self.volume.consistency_group_id,
+@@ -2011,6 +2013,7 @@ class TestVolumeShow(volume_fakes.TestVo
+ self.columns = (
+ 'attachments',
+ 'availability_zone',
++ 'backup_id',
+ 'bootable',
+ 'cluster_name',
+ 'consistencygroup_id',
+@@ -2045,6 +2048,7 @@ class TestVolumeShow(volume_fakes.TestVo
+ self.data = (
+ self.volume.attachments,
+ self.volume.availability_zone,
++ self.volume.backup_id,
+ self.volume.is_bootable,
+ self.volume.cluster_name,
+ self.volume.consistency_group_id,
diff --git a/debian/patches/series b/debian/patches/series
index b0f0308..27d569e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
package-all-files.patch
Fix_openstack_quota_show_without_cinder.patch
+add-missing-backup_id-field.patch
diff --git a/openstackclient/tests/unit/volume/v3/test_volume.py b/openstackclient/tests/unit/volume/v3/test_volume.py
index 5fb35a0..33dcfe5 100644
--- a/openstackclient/tests/unit/volume/v3/test_volume.py
+++ b/openstackclient/tests/unit/volume/v3/test_volume.py
@@ -37,6 +37,7 @@ class TestVolumeCreate(volume_fakes.TestVolume):
columns = (
'attachments',
'availability_zone',
+ 'backup_id',
'bootable',
'cluster_name',
'consistencygroup_id',
@@ -78,6 +79,7 @@ class TestVolumeCreate(volume_fakes.TestVolume):
self.datalist = (
self.volume.attachments,
self.volume.availability_zone,
+ self.volume.backup_id,
self.volume.is_bootable,
self.volume.cluster_name,
self.volume.consistency_group_id,
@@ -2011,6 +2013,7 @@ class TestVolumeShow(volume_fakes.TestVolume):
self.columns = (
'attachments',
'availability_zone',
+ 'backup_id',
'bootable',
'cluster_name',
'consistencygroup_id',
@@ -2045,6 +2048,7 @@ class TestVolumeShow(volume_fakes.TestVolume):
self.data = (
self.volume.attachments,
self.volume.availability_zone,
+ self.volume.backup_id,
self.volume.is_bootable,
self.volume.cluster_name,
self.volume.consistency_group_id,