[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775581: unblock: python-amqp/1.4.5-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear release team,

Due to #774966, I thought it was a lot easier to just remove the
warning in amqp rather than modifying Nova. So that's what I did
in the upload of python-amqp/1.4.5-2 (only removed 2 lines of code).
Please unblock package python-amqp python-amqp/1.4.5-2. Debdiff
attached.

Cheers,

Thomas Goirand (zigo)
diff -Nru python-amqp-1.4.5/debian/changelog python-amqp-1.4.5/debian/changelog
--- python-amqp-1.4.5/debian/changelog	2014-04-23 10:19:55.000000000 +0000
+++ python-amqp-1.4.5/debian/changelog	2015-01-17 16:53:46.000000000 +0000
@@ -1,3 +1,11 @@
+python-amqp (1.4.5-2) unstable; urgency=medium
+
+  * Team upload.
+  * Removes the VDeprecationWarning which is flooding all nova services, thanks to
+    Bastian Blank for reporting (Closes: #774966).
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 17 Jan 2015 16:52:46 +0000
+
 python-amqp (1.4.5-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru python-amqp-1.4.5/debian/patches/remove-deprecation-warning.patch python-amqp-1.4.5/debian/patches/remove-deprecation-warning.patch
--- python-amqp-1.4.5/debian/patches/remove-deprecation-warning.patch	1970-01-01 00:00:00.000000000 +0000
+++ python-amqp-1.4.5/debian/patches/remove-deprecation-warning.patch	2015-01-17 16:55:33.000000000 +0000
@@ -0,0 +1,21 @@
+Description: Removes deprecation warning
+ The depraction warning is flooding Nova logs. As it's too late to fix Nova,
+ best way forward is to just remove the depraction warning, which this patch
+ does.
+Author: Thomas Goirand <zigo@debian.org>
+Bug-Debian: https://bugs.debian.org/774966
+Forwarded: not-needed
+Last-Update: 2014-01-17
+
+--- python-amqp-1.4.5.orig/amqp/channel.py
++++ python-amqp-1.4.5/amqp/channel.py
+@@ -612,9 +612,6 @@ class Channel(AbstractChannel):
+         args.write_table(arguments)
+         self._send_method((40, 10), args)
+ 
+-        if auto_delete:
+-            warn(VDeprecationWarning(EXCHANGE_AUTODELETE_DEPRECATED))
+-
+         if not nowait:
+             return self.wait(allowed_methods=[
+                 (40, 11),  # Channel.exchange_declare_ok
diff -Nru python-amqp-1.4.5/debian/patches/series python-amqp-1.4.5/debian/patches/series
--- python-amqp-1.4.5/debian/patches/series	2014-04-08 19:53:26.000000000 +0000
+++ python-amqp-1.4.5/debian/patches/series	2015-01-17 16:54:23.000000000 +0000
@@ -1 +1,2 @@
 remove_logo.patch
+remove-deprecation-warning.patch

Reply to: