Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2022-08-03 21:16:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and      /work/SRC/openSUSE:Factory/.python-Ming.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Ming"

Wed Aug  3 21:16:35 2022 rev:15 rq:992418 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2022-03-24 
23:00:40.128405090 +0100
+++ /work/SRC/openSUSE:Factory/.python-Ming.new.1533/python-Ming.changes        
2022-08-03 21:16:51.391467032 +0200
@@ -1,0 +2,16 @@
+Wed Aug  3 01:33:02 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 0.12.0:
+  * Remove six dependency.
+  * Remove Python 3.5 support.
+  * Run pyupgrade --py37-plus.
+  * Support distinct() keys traversing lists.
+- Remove unneeded BuildRequires on mock. 
+- Remove seperate source for LICENSE, it is now shipped.
+- Add missing Requires on pymongo.
+- Remove patch python-Ming-no-mock.patch:
+  * Included upstream.
+- Add patch pymongo-4-support.patch:
+  * Support pymongo >= 4
+
+-------------------------------------------------------------------

Old:
----
  LICENSE.txt
  Ming-0.11.2.tar.gz
  python-Ming-no-mock.patch

New:
----
  Ming-0.12.0.tar.gz
  pymongo-4-support.patch

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

Other differences:
------------------
++++++ python-Ming.spec ++++++
--- /var/tmp/diff_new_pack.9piP10/_old  2022-08-03 21:16:51.923468428 +0200
+++ /var/tmp/diff_new_pack.9piP10/_new  2022-08-03 21:16:51.927468438 +0200
@@ -18,28 +18,24 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Ming
-Version:        0.11.2
+Version:        0.12.0
 Release:        0
 Summary:        Database mapping layer for MongoDB on Python
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/TurboGears/Ming
 Source:         
https://files.pythonhosted.org/packages/source/M/Ming/Ming-%{version}.tar.gz
-Source1:        
https://raw.githubusercontent.com/TurboGears/Ming/master/LICENSE.txt
-# https://github.com/TurboGears/Ming/issues/39
-Patch0:         python-Ming-no-mock.patch
+Patch0:         pymongo-4-support.patch
 BuildRequires:  %{python_module FormEncode >= 1.2.1}
 BuildRequires:  %{python_module WebOb}
 BuildRequires:  %{python_module WebTest}
-BuildRequires:  %{python_module mock >= 0.8.0}
 BuildRequires:  %{python_module pymongo >= 3.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-pymongo >= 3.0
 Requires:       python-pytz
-Requires:       python-six >= 1.6.1
 Recommends:     python-FormEncode >= 1.2.1
 BuildArch:      noarch
 %python_subpackages
@@ -49,9 +45,7 @@
 Includes schema enforcement and some facilities for schema migration.
 
 %prep
-%setup -q -n Ming-%{version}
-%patch0 -p1
-cp %{SOURCE1} .
+%autosetup -p1 -n Ming-%{version}
 
 # gridfs fails
 rm ming/tests/test_gridfs.py

++++++ Ming-0.11.2.tar.gz -> Ming-0.12.0.tar.gz ++++++
++++ 2616 lines of diff (skipped)

++++++ pymongo-4-support.patch ++++++
Index: Ming-0.12.0/ming/tests/odm/test_mapper.py
===================================================================
--- Ming-0.12.0.orig/ming/tests/odm/test_mapper.py
+++ Ming-0.12.0/ming/tests/odm/test_mapper.py
@@ -267,16 +267,6 @@ class TestBasicMapping(TestCase):
         self.Basic.query.find({'a': 'b'}).distinct('field')
         assert mim_distinct.called
 
-    @patch('pymongo.collection.Collection.inline_map_reduce')
-    def test_inline_map_reduce(self, pymongo_inline_map_reduce):
-        self.Basic.query.inline_map_reduce()
-        assert pymongo_inline_map_reduce.called
-
-    @patch('pymongo.collection.Collection.group')
-    def test_group(self, pymongo_group):
-        self.Basic.query.group()
-        assert pymongo_group.called
-
     def test_multiple_update_flushes(self):
         initial_doc = self.Basic()
         initial_doc.a = 1
Index: Ming-0.12.0/setup.py
===================================================================
--- Ming-0.12.0.orig/setup.py
+++ Ming-0.12.0/setup.py
@@ -33,7 +33,7 @@ setup(name='Ming',
       include_package_data=True,
       zip_safe=True,
       install_requires=[
-        "pymongo>=3.0,<3.12",
+        "pymongo>=3.0",
         "pytz",
       ],
       tests_require=[

Reply via email to