Hello community,

here is the log from the commit of package python-kombu for openSUSE:Factory 
checked in at 2012-10-07 19:59:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kombu (Old)
 and      /work/SRC/openSUSE:Factory/.python-kombu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kombu", Maintainer is "cth...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kombu/python-kombu.changes        
2012-09-17 01:29:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-kombu.new/python-kombu.changes   
2012-10-07 19:59:41.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Sep 19 01:53:45 UTC 2012 - alexan...@exatati.com.br
+
+- Update to 2.4.7:
+  - Virtual: Unknown exchanges now default to 'direct' when sending
+    a message.
+  - MongoDB: Fixed memory leak when merging keys stored in the db
+    (Issue #159)
+    Fix contributed by Michael Korbakov.
+  - MongoDB: Better index for MongoDB transport (Issue #158).
+    This improvement will create a new compund index for queue and
+    _id in order to be able to use both indexed fields for getting
+    a new message (using queue field) and sorting by _id. It'll be
+    necessary to manually delete the old index from the collection.
+
+-------------------------------------------------------------------

Old:
----
  kombu-2.4.6.tar.gz

New:
----
  kombu-2.4.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-kombu.spec ++++++
--- /var/tmp/diff_new_pack.oD8dUj/_old  2012-10-07 19:59:47.000000000 +0200
+++ /var/tmp/diff_new_pack.oD8dUj/_new  2012-10-07 19:59:47.000000000 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:           python-kombu
-Version:        2.4.6
+Version:        2.4.7
 Release:        0
 License:        BSD-2-Clause
 Summary:        AMQP Messaging Framework for Python

++++++ kombu-2.4.6.tar.gz -> kombu-2.4.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/Changelog new/kombu-2.4.7/Changelog
--- old/kombu-2.4.6/Changelog   2012-09-12 15:46:56.000000000 +0200
+++ new/kombu-2.4.7/Changelog   2012-09-18 16:11:56.000000000 +0200
@@ -4,6 +4,27 @@
  Change history
 ================
 
+.. _version-2.4.7:
+
+2.4.7
+=====
+:release-date: 2012-09-18 03:00 P.M BST
+
+- Virtual: Unknown exchanges now default to 'direct' when sending a message.
+
+- MongoDB: Fixed memory leak when merging keys stored in the db (Issue #159)
+
+    Fix contributed by Michael Korbakov.
+
+- MongoDB: Better index for MongoDB transport (Issue #158).
+
+    This improvement will create a new compund index for queue and _id in order
+    to be able to use both indexed fields for getting a new message (using
+    queue field) and sorting by _id.  It'll be necessary to manually delete
+    the old index from the collection.
+
+    Improvement contributed by rmihael
+
 .. _version-2.4.6:
 
 2.4.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/PKG-INFO new/kombu-2.4.7/PKG-INFO
--- old/kombu-2.4.6/PKG-INFO    2012-09-12 15:49:27.000000000 +0200
+++ new/kombu-2.4.7/PKG-INFO    2012-09-18 16:13:08.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: kombu
-Version: 2.4.6
+Version: 2.4.7
 Summary: Messaging Framework for Python
 Home-page: http://kombu.readthedocs.org
 Author: Ask Solem
@@ -10,7 +10,7 @@
          kombu - Messaging Framework for Python
         ========================================
         
-        :Version: 2.4.6
+        :Version: 2.4.7
         
         `Kombu` is a messaging framework for Python.
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/README new/kombu-2.4.7/README
--- old/kombu-2.4.6/README      2012-09-12 15:48:47.000000000 +0200
+++ new/kombu-2.4.7/README      2012-09-18 16:12:13.000000000 +0200
@@ -2,7 +2,7 @@
  kombu - Messaging Framework for Python
 ========================================
 
-:Version: 2.4.6
+:Version: 2.4.7
 
 `Kombu` is a messaging framework for Python.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/README.rst new/kombu-2.4.7/README.rst
--- old/kombu-2.4.6/README.rst  2012-09-12 15:48:47.000000000 +0200
+++ new/kombu-2.4.7/README.rst  2012-09-18 16:12:13.000000000 +0200
@@ -2,7 +2,7 @@
  kombu - Messaging Framework for Python
 ========================================
 
-:Version: 2.4.6
+:Version: 2.4.7
 
 `Kombu` is a messaging framework for Python.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/docs/changelog.rst 
new/kombu-2.4.7/docs/changelog.rst
--- old/kombu-2.4.6/docs/changelog.rst  2012-09-12 15:46:56.000000000 +0200
+++ new/kombu-2.4.7/docs/changelog.rst  2012-09-18 16:11:56.000000000 +0200
@@ -4,6 +4,27 @@
  Change history
 ================
 
+.. _version-2.4.7:
+
+2.4.7
+=====
+:release-date: 2012-09-18 03:00 P.M BST
+
+- Virtual: Unknown exchanges now default to 'direct' when sending a message.
+
+- MongoDB: Fixed memory leak when merging keys stored in the db (Issue #159)
+
+    Fix contributed by Michael Korbakov.
+
+- MongoDB: Better index for MongoDB transport (Issue #158).
+
+    This improvement will create a new compund index for queue and _id in order
+    to be able to use both indexed fields for getting a new message (using
+    queue field) and sorting by _id.  It'll be necessary to manually delete
+    the old index from the collection.
+
+    Improvement contributed by rmihael
+
 .. _version-2.4.6:
 
 2.4.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/docs/introduction.rst 
new/kombu-2.4.7/docs/introduction.rst
--- old/kombu-2.4.6/docs/introduction.rst       2012-09-12 15:48:47.000000000 
+0200
+++ new/kombu-2.4.7/docs/introduction.rst       2012-09-18 16:12:13.000000000 
+0200
@@ -2,7 +2,7 @@
  kombu - Messaging Framework for Python
 ========================================
 
-:Version: 2.4.6
+:Version: 2.4.7
 
 `Kombu` is a messaging framework for Python.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/kombu/__init__.py 
new/kombu-2.4.7/kombu/__init__.py
--- old/kombu-2.4.6/kombu/__init__.py   2012-09-12 15:47:12.000000000 +0200
+++ new/kombu-2.4.7/kombu/__init__.py   2012-09-18 16:12:13.000000000 +0200
@@ -1,7 +1,7 @@
 """Messaging Framework for Python"""
 from __future__ import absolute_import
 
-VERSION = (2, 4, 6)
+VERSION = (2, 4, 7)
 __version__ = '.'.join(map(str, VERSION[0:3])) + ''.join(VERSION[3:])
 __author__ = 'Ask Solem'
 __contact__ = 'a...@celeryproject.org'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/kombu/transport/mongodb.py 
new/kombu-2.4.7/kombu/transport/mongodb.py
--- old/kombu-2.4.6/kombu/transport/mongodb.py  2012-09-12 15:43:38.000000000 
+0200
+++ new/kombu-2.4.7/kombu/transport/mongodb.py  2012-09-17 17:25:26.000000000 
+0200
@@ -144,7 +144,7 @@
         #     database.authenticate(conninfo.userid, conninfo.password)
         self.db = database
         col = database.messages
-        col.ensure_index([('queue', 1)])
+        col.ensure_index([('queue', 1), ('_id', 1)], background=True)
 
         if 'messages.broadcast' not in database.collection_names():
             capsize = conninfo.transport_options.get(
@@ -162,15 +162,13 @@
     #TODO: Store a more complete exchange metatable in the routing collection
     def get_table(self, exchange):
         """Get table of bindings for ``exchange``."""
+        localRoutes = frozenset(self.state.exchanges[exchange]['table'])
         brokerRoutes = self.client.messages.routing.find({
                             'exchange': exchange})
 
-        localRoutes = self.state.exchanges[exchange]['table']
-        for route in brokerRoutes:
-            localRoutes.append((route['routing_key'],
-                                route['pattern'],
-                                route['queue']))
-        return set(localRoutes)
+        return localRoutes | frozenset((r['routing_key'],
+                                        r['pattern'],
+                                        r['queue']) for r in brokerRoutes)
 
     def _put_fanout(self, exchange, message, **kwargs):
         """Deliver fanout message."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/kombu/transport/virtual/__init__.py 
new/kombu-2.4.7/kombu/transport/virtual/__init__.py
--- old/kombu-2.4.6/kombu/transport/virtual/__init__.py 2012-08-29 
16:46:47.000000000 +0200
+++ new/kombu-2.4.7/kombu/transport/virtual/__init__.py 2012-09-17 
17:21:19.000000000 +0200
@@ -518,9 +518,12 @@
         """Get table of bindings for `exchange`."""
         return self.state.exchanges[exchange]['table']
 
-    def typeof(self, exchange):
+    def typeof(self, exchange, default='direct'):
         """Get the exchange type instance for `exchange`."""
-        type = self.state.exchanges[exchange]['type']
+        try:
+            type = self.state.exchanges[exchange]['type']
+        except KeyError:
+            type = default
         return self.exchange_types[type]
 
     def _lookup(self, exchange, routing_key, default=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/kombu.egg-info/PKG-INFO 
new/kombu-2.4.7/kombu.egg-info/PKG-INFO
--- old/kombu-2.4.6/kombu.egg-info/PKG-INFO     2012-09-12 15:49:14.000000000 
+0200
+++ new/kombu-2.4.7/kombu.egg-info/PKG-INFO     2012-09-18 16:13:04.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: kombu
-Version: 2.4.6
+Version: 2.4.7
 Summary: Messaging Framework for Python
 Home-page: http://kombu.readthedocs.org
 Author: Ask Solem
@@ -10,7 +10,7 @@
          kombu - Messaging Framework for Python
         ========================================
         
-        :Version: 2.4.6
+        :Version: 2.4.7
         
         `Kombu` is a messaging framework for Python.
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/requirements/test-py3k.txt 
new/kombu-2.4.7/requirements/test-py3k.txt
--- old/kombu-2.4.6/requirements/test-py3k.txt  2012-08-29 16:46:47.000000000 
+0200
+++ new/kombu-2.4.7/requirements/test-py3k.txt  2012-09-17 17:21:34.000000000 
+0200
@@ -1,3 +1,4 @@
 distribute
 nose
+nose-cover3
 mock>=0.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kombu-2.4.6/setup.cfg new/kombu-2.4.7/setup.cfg
--- old/kombu-2.4.6/setup.cfg   2012-09-12 15:49:27.000000000 +0200
+++ new/kombu-2.4.7/setup.cfg   2012-09-18 16:13:08.000000000 +0200
@@ -27,6 +27,8 @@
 [bdist_rpm]
 requires = anyjson >= 0.3.3
        amqplib >= 1.0.0
+       importlib
+       ordereddict
 
 [egg_info]
 tag_build = 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to