Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mockito for openSUSE:Factory 
checked in at 2021-04-22 18:04:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mockito (Old)
 and      /work/SRC/openSUSE:Factory/.python-mockito.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mockito"

Thu Apr 22 18:04:05 2021 rev:9 rq:887439 version:1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mockito/python-mockito.changes    
2020-04-01 19:18:00.123522038 +0200
+++ /work/SRC/openSUSE:Factory/.python-mockito.new.12324/python-mockito.changes 
2021-04-22 18:04:57.230597364 +0200
@@ -1,0 +2,7 @@
+Thu Apr 22 06:00:46 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Update to 1.2.2:
+  * Fix typo in ``spy2`` doc
+- Do not build for Python 3.6, due to no NumPy. 
+
+-------------------------------------------------------------------

Old:
----
  1.2.1.tar.gz

New:
----
  1.2.2.tar.gz

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

Other differences:
------------------
++++++ python-mockito.spec ++++++
--- /var/tmp/diff_new_pack.65l9IK/_old  2021-04-22 18:04:57.702598084 +0200
+++ /var/tmp/diff_new_pack.65l9IK/_new  2021-04-22 18:04:57.706598090 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mockito
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python36 1
 Name:           python-mockito
-Version:        1.2.1
+Version:        1.2.2
 Release:        0
 Summary:        Spying framework
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/kaste/mockito-python
 # https://github.com/kaste/mockito-python/issues/36
 Source:         
https://github.com/kaste/mockito-python/archive/%{version}.tar.gz

++++++ 1.2.1.tar.gz -> 1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mockito-python-1.2.1/.bumpversion.cfg 
new/mockito-python-1.2.2/.bumpversion.cfg
--- old/mockito-python-1.2.1/.bumpversion.cfg   2020-02-19 12:22:45.000000000 
+0100
+++ new/mockito-python-1.2.2/.bumpversion.cfg   2020-09-09 08:58:01.000000000 
+0200
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 1.2.1
+current_version = 1.2.2
 commit = True
 message = Bump version to {new_version}
 tag = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mockito-python-1.2.1/CHANGES.txt 
new/mockito-python-1.2.2/CHANGES.txt
--- old/mockito-python-1.2.1/CHANGES.txt        2020-02-19 12:22:45.000000000 
+0100
+++ new/mockito-python-1.2.2/CHANGES.txt        2020-09-09 08:58:01.000000000 
+0200
@@ -1,6 +1,12 @@
 MOCKITO CHANGE LOG
 ==================
 
+Release 1.2.2 (September 9, 2020)
+---------------------------------
+
+- Fix typo in ``spy2`` doc
+
+
 Release 1.2.1 (February 19, 2020)
 ---------------------------------
 
@@ -14,11 +20,11 @@
 - Fine tune error messages on unexpected calls or verifications. E.g. if you 
expect ``when(dog).bark('Wuff')`` but on call time do ``dog.bark('Wufff')``. 
Likewise, if you call ``dog.bark('Miau')`` and then 
``verify(dog).bark('Maui')``.
 - @felixonmars fixed a small compatibility issue with python 3.8
 - Mocking properties has become a bit easier. (#26) E.g.
-    
+
     prop = mock()
     when(m).__get__(...).thenReturn(23)
     m = mock({'name': prop})
-    
+
 
 Release 1.1.1 (August 28, 2018)
 -------------------------------
@@ -35,7 +41,7 @@
 - Added ``forget_invocations`` function. Thanks to @maximkulkin
 
 This is generally useful if you already call mocks during your setup routine.
-Now you could call ``forget_invocations`` at the end of your setup, and 
+Now you could call ``forget_invocations`` at the end of your setup, and
 have a clean 'recording' for your actual test code. T.i. you don't have
 to count the invocations from your setup code anymore.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mockito-python-1.2.1/mockito/__init__.py 
new/mockito-python-1.2.2/mockito/__init__.py
--- old/mockito-python-1.2.1/mockito/__init__.py        2020-02-19 
12:22:45.000000000 +0100
+++ new/mockito-python-1.2.2/mockito/__init__.py        2020-09-09 
08:58:01.000000000 +0200
@@ -44,7 +44,7 @@
 from .matchers import any, contains, times
 from .verification import never
 
-__version__ = '1.2.1'
+__version__ = '1.2.2'
 
 __all__ = [
     'mock',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mockito-python-1.2.1/mockito/spying.py 
new/mockito-python-1.2.2/mockito/spying.py
--- old/mockito-python-1.2.1/mockito/spying.py  2020-02-19 12:22:45.000000000 
+0100
+++ new/mockito-python-1.2.2/mockito/spying.py  2020-09-09 08:58:01.000000000 
+0200
@@ -88,7 +88,7 @@
     E.g.::
 
         import time
-        spy(time.time)
+        spy2(time.time)
         do_work(...)  # nothing injected, uses global patched `time` module
         verify(time).time()
 

Reply via email to