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 2026-04-09 16:08:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mockito (Old)
 and      /work/SRC/openSUSE:Factory/.python-mockito.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mockito"

Thu Apr  9 16:08:39 2026 rev:15 rq:1345087 version:2.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mockito/python-mockito.changes    
2025-11-27 15:23:04.040790884 +0100
+++ /work/SRC/openSUSE:Factory/.python-mockito.new.21863/python-mockito.changes 
2026-04-09 16:11:29.581839853 +0200
@@ -1,0 +2,32 @@
+Tue Apr  7 22:51:36 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.0.0:
+  * First-class async/await and property/descriptor support.
+    Chaining.  InOrder.
+  * Enhanced `captor`, new `patch_attr` and `patch_dict`.
+  * Deprecate `verifyNoMoreInteractions` in favor of
+    `ensureNoUnverifiedInteractions`.
+  * Deprecate `verifyNoUnwantedInteractions` in favor of
+    `verifyExpectedInteractions`.
+  * Context managers now check usage and any expectations (set
+    via `expect`) on exit. The usage
+  * check can be disabled with the environment variable
+    `MOCKITO_CONTEXT_MANAGERS_CHECK_USAGE="0"`.
+  * The `between` matcher now supports open ranges, e.g.
+    `between=(0,)` to assert that at least
+  * 0 interactions occurred.
+  * Calling `thenAnswer()` without arguments is now allowed and
+    is treated like
+  * `thenReturn()` without arguments: the stubbed method will
+    return `None`.
+  * Allow `...` in fixed argument positions as an ad-hoc `any`
+    matcher.
+  * Trailing positional `...` keeps its existing "rest"
+    semantics.
+  * Expanded `mock({...})` constructor shorthands. Refer
+    https://mockito-python.readthedocs.io/en/latest/mock-
+    shorthands.html
+  * Added a first-class `InOrder` API via ``mockito.InOrder``.
+    The legacy in-order mode only supported one mock at a time;
+
+-------------------------------------------------------------------

Old:
----
  1.5.5.tar.gz

New:
----
  2.0.3.tar.gz

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

Other differences:
------------------
++++++ python-mockito.spec ++++++
--- /var/tmp/diff_new_pack.XxafEr/_old  2026-04-09 16:11:59.355068204 +0200
+++ /var/tmp/diff_new_pack.XxafEr/_new  2026-04-09 16:11:59.359068369 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mockito
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-mockito
-Version:        1.5.5
+Version:        2.0.3
 Release:        0
 Summary:        Spying framework
 License:        MIT
@@ -46,6 +46,7 @@
 %autosetup -p1 -n mockito-python-%{version}
 
 %build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %pyproject_wheel
 
 %install

++++++ 1.5.5.tar.gz -> 2.0.3.tar.gz ++++++
++++ 13180 lines of diff (skipped)

Reply via email to