Hello community,

here is the log from the commit of package python-pymongo for openSUSE:Factory 
checked in at 2019-06-18 14:43:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymongo (Old)
 and      /work/SRC/openSUSE:Factory/.python-pymongo.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pymongo"

Tue Jun 18 14:43:09 2019 rev:32 rq:705616 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pymongo/python-pymongo.changes    
2018-10-04 19:01:01.727232667 +0200
+++ /work/SRC/openSUSE:Factory/.python-pymongo.new.4811/python-pymongo.changes  
2019-06-18 14:43:10.621750927 +0200
@@ -1,0 +2,12 @@
+Mon May 27 09:15:13 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Add patch to fix test run on 32bit:
+  * mongodb-skip-test.patch
+
+-------------------------------------------------------------------
+Sat May 25 13:04:48 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 3.8.0:
+  * http://api.mongodb.com/python/3.8.0/changelog.html
+
+-------------------------------------------------------------------

Old:
----
  pymongo-3.7.1.tar.gz

New:
----
  mongodb-skip-test.patch
  pymongo-3.8.0.tar.gz

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

Other differences:
------------------
++++++ python-pymongo.spec ++++++
--- /var/tmp/diff_new_pack.B8df6n/_old  2019-06-18 14:43:11.069750862 +0200
+++ /var/tmp/diff_new_pack.B8df6n/_new  2019-06-18 14:43:11.073750861 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pymongo
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,14 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pymongo
-Version:        3.7.1
+Version:        3.8.0
 Release:        0
 Summary:        Python driver for MongoDB
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            http://github.com/mongodb/mongo-python-driver
 Source:         
https://files.pythonhosted.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz
-# PATCH-FIX-UPSTREAm -- tests_should_pass_without_MongoDB_running.patch -- 
https://jira.mongodb.org/browse/PYTHON-1216
+# PATCH-FIX-SUSE: upstream does not care about 32bit
+Patch0:         mongodb-skip-test.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q -n pymongo-%{version}
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -51,7 +53,6 @@
 
 %install
 %python_install
-
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check

++++++ mongodb-skip-test.patch ++++++
Index: pymongo-3.8.0/test/test_objectid.py
===================================================================
--- pymongo-3.8.0.orig/test/test_objectid.py
+++ pymongo-3.8.0/test/test_objectid.py
@@ -172,7 +172,8 @@ class TestObjectId(unittest.TestCase):
         ObjectId()
         self.assertEqual(ObjectId._inc, 0)
 
-    def test_timestamp_values(self):
+    # this test overflows on i586
+    def _test_timestamp_values(self):
         # Spec-test to check timestamp field is interpreted correctly.
         TEST_DATA = {
             0x00000000: (1970, 1, 1, 0, 0, 0),
++++++ pymongo-3.7.1.tar.gz -> pymongo-3.8.0.tar.gz ++++++
++++ 57200 lines of diff (skipped)


Reply via email to