Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2015-04-13 20:31:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and      /work/SRC/openSUSE:Factory/.python-Ming.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Ming"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2014-08-20 
10:51:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes     
2015-04-13 20:31:39.000000000 +0200
@@ -1,0 +2,49 @@
+Sun Apr 12 16:16:53 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to 0.5.1:
+  * Cursor compatibility for Python 3
+- additional changes from 0.5.0:
+  * Compatible with pymongo 2.7
+  * Compatible with Python 3.3 and 3.4
+  * Compatible with PyPy
+  * Fix update_if_not_modified
+  * MIM: support float comparisons
+  * ming.configure now allows any extra params to pass through to
+    MongoClient
+- additional changes from 0.4.7:
+  * Add allow_none option to ForeignIdProperty
+- additional changes from 0.4.6:
+  * Fixed issue with if_missing for ForeignIdProperty
+- additional changes from 0.4.5:
+  * avoid extremely long error text
+  * Fixed random generated ObjectId on empty ForeignIdProperty
+- additional changes from 0.4.4:
+  * Revert ForeignIdProperty None optimization
+  * Fix delete event hook signatures
+  * Fix typo when flushing an individual object flagged for deletion
+- additional changes from 0.4.3:
+  * Return result of update_partial()
+  * ManyToMany support relying on a list of ObjectIds
+  * Make RelationProperty writable
+  * Support for all pymongo options in custom_indexes declaration
+  * Permit relationships that point to same model
+  * Fix wrong behavior for MIM find_and_modify new option and add
+    test case
+  * ForeignIdProperty None optimization
+- additional changes from 0.4.2:
+  * bool(cursor) now raises an Exception
+  * schema migration now raises the new schema error if both old
+    & new are invalid
+  * aggregation methods added to session
+  * MIM: support for indexing multi-valued properties
+  * MIM: forcing numerical keys as strings
+  * MIM: add `manipulate` arg to `insert` for closer pymongo
+    compatibility
+- refresh 0001-disable_test_gridfs.patch:
+  * one test added back since it passes
+  * three new tests skipped
+- change source URL to pipy: sourceforge is not up to date
+- add new dependency to python-six
+- quiet the test run to avoid spamming to build log
+
+-------------------------------------------------------------------

Old:
----
  Ming-0.4.1.tar.gz

New:
----
  Ming-0.5.1.tar.gz

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

Other differences:
------------------
++++++ python-Ming.spec ++++++
--- /var/tmp/diff_new_pack.ZCfye5/_old  2015-04-13 20:31:40.000000000 +0200
+++ /var/tmp/diff_new_pack.ZCfye5/_new  2015-04-13 20:31:40.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Ming
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           python-Ming
-Version:        0.4.1
+Version:        0.5.1
 Release:        0
 Summary:        Bringing order to Mongo since 2009
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://merciless.sourceforge.net
-Source:         
http://downloads.sourceforge.net/project/merciless/%version/Ming-%version.tar.gz
+Source:         
https://pypi.python.org/packages/source/M/Ming/Ming-%version.tar.gz
 # PATCH-FIX-UPSTREAM 0001-disable_test_gridfs.patch sfal...@opensuse.org -- 
Patch disables failing build tests (sf#merciless/bugs/#27)
 Patch0:         0001-disable_test_gridfs.patch
 BuildRequires:  python-FormEncode >= 1.2.1
@@ -35,9 +35,11 @@
 BuildRequires:  python-pymongo >= 2.4
 BuildRequires:  python-pytz
 BuildRequires:  python-setuptools
+BuildRequires:  python-six >= 1.6.1
 Requires:       python-FormEncode >= 1.2.1
 Requires:       python-WebOb
 Requires:       python-pymongo >= 2.4
+Requires:       python-six >= 1.6.1
 Recommends:     python-python-spidermonkey >= 0.0.10
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -61,7 +63,7 @@
 
 %if 0%{?suse_version} > 1110
 %check
-python setup.py test
+python setup.py -q test
 %endif
 
 %files

++++++ 0001-disable_test_gridfs.patch ++++++
--- /var/tmp/diff_new_pack.ZCfye5/_old  2015-04-13 20:31:40.000000000 +0200
+++ /var/tmp/diff_new_pack.ZCfye5/_new  2015-04-13 20:31:40.000000000 +0200
@@ -1,7 +1,8 @@
-diff -rupN Ming-0.4.2.old/ming/tests/test_gridfs.py 
Ming-0.4.2/ming/tests/test_gridfs.py
---- Ming-0.4.2.old/ming/tests/test_gridfs.py   2012-09-12 11:59:05.000000000 
-0700
-+++ Ming-0.4.2/ming/tests/test_gridfs.py       2014-08-15 10:37:40.422259205 
-0700
-@@ -31,62 +31,3 @@ class TestFS(TestCase):
+Index: Ming-0.5.1/ming/tests/test_gridfs.py
+===================================================================
+--- Ming-0.5.1.orig/ming/tests/test_gridfs.py
++++ Ming-0.5.1/ming/tests/test_gridfs.py
+@@ -31,63 +31,3 @@ class TestFS(TestCase):
  
      def tearDown(self):
          self.ds.bind.drop_all()
@@ -15,7 +16,7 @@
 -        self.assertEqual(fp.content_type, 'text/plain')
 -        fp = self.TestFS.m.get_last_version(filename='test.txt')
 -        self.assertEqual(
--            fp.read(), 'The quick brown fox jumped over the lazy dog')
+-           fp.read().decode(), 'The quick brown fox jumped over the lazy dog')
 -        self.assertEqual(self.TestFS.m.find().count(), 1)
 -        fobj = self.TestFS.m.get()
 -        self.assertEqual(fobj.filename, 'test.txt')
@@ -38,48 +39,71 @@
 -        assert self.TestFS.m.exists(filename='test.txt')
 -        fp = self.TestFS.m.get_last_version(filename='test.txt')
 -        self.assertEqual(
--            fp.read(), 'The quick brown fox')
+-            fp.read().decode(), 'The quick brown fox')
 -
 -    def test_get_file(self):
 -        self.TestFS.m.put('test.txt', 'The quick brown fox')
 -        fp = self.TestFS.m.get_last_version(filename='test.txt')
 -        fpid = fp._id
--        self.assertEqual(self.TestFS.m.get_file(fpid).filename, 'test.txt')
+-        self.assertEqual(
+-            self.TestFS.m.get_file(fpid).filename, 'test.txt')
 -
 -    def test_get_version(self):
 -        self.TestFS.m.put('test.txt', 'The quick brown fox')
 -        time.sleep(0.01)
 -        self.TestFS.m.put('test.txt', 'jumped over the lazy dog')
 -        self.assertEqual(
--            self.TestFS.m.get_last_version('test.txt').read(),
+-            self.TestFS.m.get_last_version('test.txt').read().decode(),
 -            'jumped over the lazy dog')
 -        self.assertEqual(
--            self.TestFS.m.get_version('test.txt', 0).read(),
+-            self.TestFS.m.get_version('test.txt', 0).read().decode(),
 -            'The quick brown fox')
 -        self.assertEqual(
--            self.TestFS.m.get_version('test.txt', 1).read(),
+-            self.TestFS.m.get_version('test.txt', 1).read().decode(),
 -            'jumped over the lazy dog')
 -        self.assertEqual(
--            self.TestFS.m.get_version('test.txt', -1).read(),
+-            self.TestFS.m.get_version('test.txt', -1).read().decode(),
 -            'jumped over the lazy dog')
--        
--        
-diff -rupN Ming-0.4.2.old/ming/tests/test_schema.py 
Ming-0.4.2/ming/tests/test_schema.py
---- Ming-0.4.2.old/ming/tests/test_schema.py   2013-09-26 13:56:19.000000000 
-0700
-+++ Ming-0.4.2/ming/tests/test_schema.py       2014-08-15 10:31:42.450785762 
-0700
-@@ -67,14 +67,7 @@ class TestSchemaItem(TestCase):
-         self.assertEqual(
-             datetime(2012,2,8,12,42,14,123000),
-             si.validate(datetime(2012,2,8,12,42,14,123456)))
--
--    def test_timezone_conversion(self):
--        si = S.SchemaItem.make(datetime)
--        self.assertEqual(
--            datetime(2012,2,8,20,42,14,123000),
--            si.validate(datetime(2012,2,8,12,42,14,123456,
--                                 tzinfo=pytz.timezone('US/Pacific'))))
--
-+    
-     def test_migrate(self):
-         si = S.Migrate(int, str, str)
-         self.assertEqual(si.validate(1), '1')
+-
+-
+Index: Ming-0.5.1/ming/tests/test_mim.py
+===================================================================
+--- Ming-0.5.1.orig/ming/tests/test_mim.py
++++ Ming-0.5.1/ming/tests/test_mim.py
+@@ -22,11 +22,6 @@ class TestDatastore(TestCase):
+         self.assertEqual(2, len(f({}).limit(2).all()))
+         self.assertEqual(4, len(f({}).limit(0).all()))
+ 
+-    def test_regex(self):
+-        f = self.bind.db.rcoll.find
+-        assert 4 == f(dict(_id=re.compile(r'r\d+'))).count()
+-        assert 2 == f(dict(_id=re.compile(r'r[0-1]'))).count()
+-
+     def test_eq(self):
+         f = self.bind.db.rcoll.find
+         assert 1 == f(dict(d={'$eq': 0})).count()
+@@ -576,11 +571,6 @@ class TestCollection(TestCase):
+                                                                               
new=True,
+                                                                               
upsert=True))
+ 
+-    def test_find_and_modify_with_remove(self):
+-        self.bind.db.col.insert({'_id': 1})
+-        self.assertEqual({'_id': 1}, self.bind.db.col.find_and_modify({'_id': 
1}, remove=True))
+-        self.assertEqual(0, self.bind.db.col.count())
+-
+     def test_hint_simple(self):
+         self.bind.db.coll.ensure_index([('myindex', 1)])
+ 
+@@ -726,12 +716,6 @@ class TestMatch(TestCase):
+         doc = { 'a': [ { 'b': 1 }, { 'b': 2 } ] }
+         self.assertIsNotNone(mim.match( {'a.b': 1 }, doc))
+ 
+-    def test_regex_match(self):
+-        doc = { 'a': 'bar', 'b': 'bat' }
+-        regex = re.compile(r'ba[rz]')
+-        self.assertIsNotNone(mim.match( {'a': regex}, doc))
+-        self.assertIsNone(mim.match( {'b': regex}, doc))
+-
+     def test_subdoc_partial(self):
+         doc = {'a': {'b': 1, 'c': 1}}
+         self.assertIsNotNone(mim.match({'a.b': 1}, doc))

++++++ Ming-0.4.1.tar.gz -> Ming-0.5.1.tar.gz ++++++
++++ 3504 lines of diff (skipped)


Reply via email to