Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hypothesis for 
openSUSE:Factory checked in at 2025-03-06 14:48:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old)
 and      /work/SRC/openSUSE:Factory/.python-hypothesis.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hypothesis"

Thu Mar  6 14:48:07 2025 rev:83 rq:1250597 version:6.127.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes      
2025-03-05 13:39:57.131120326 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-hypothesis.new.19136/python-hypothesis.changes
   2025-03-06 14:48:33.281001717 +0100
@@ -1,0 +2,8 @@
+Wed Mar  5 14:22:04 UTC 2025 - Nico Krapp <nico.kr...@suse.com>
+
+- Update to 6.127.6
+  * This patch tweaks the performance of the target phase, avoiding
+    aborting some test cases when it would be better to finish
+    generating them.
+
+-------------------------------------------------------------------

Old:
----
  hypothesis-python-6.127.5.tar.gz

New:
----
  hypothesis-python-6.127.6.tar.gz

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

Other differences:
------------------
++++++ python-hypothesis.spec ++++++
--- /var/tmp/diff_new_pack.4y2avv/_old  2025-03-06 14:48:33.817024195 +0100
+++ /var/tmp/diff_new_pack.4y2avv/_new  2025-03-06 14:48:33.817024195 +0100
@@ -38,7 +38,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-hypothesis%{psuffix}
-Version:        6.127.5
+Version:        6.127.6
 Release:        0
 Summary:        A library for property based testing
 License:        MPL-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.4y2avv/_old  2025-03-06 14:48:33.865026208 +0100
+++ /var/tmp/diff_new_pack.4y2avv/_new  2025-03-06 14:48:33.869026375 +0100
@@ -2,7 +2,7 @@
   <service name="tar_scm" mode="manual">
     <param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
     <param name="scm">git</param>
-    <param name="revision">hypothesis-python-6.127.5</param>
+    <param name="revision">hypothesis-python-6.127.6</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
     <param name="subdir">hypothesis-python</param>

++++++ hypothesis-python-6.127.5.tar.gz -> hypothesis-python-6.127.6.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesis-python-6.127.5/docs/changes.rst 
new/hypothesis-python-6.127.6/docs/changes.rst
--- old/hypothesis-python-6.127.5/docs/changes.rst      2025-03-03 
10:41:43.000000000 +0100
+++ new/hypothesis-python-6.127.6/docs/changes.rst      2025-03-04 
03:38:40.000000000 +0100
@@ -18,6 +18,14 @@
 
     .. include:: ../RELEASE.rst
 
+.. _v6.127.6:
+
+--------------------
+6.127.6 - 2025-03-04
+--------------------
+
+This patch tweaks the performance of the :ref:`target phase <phases>`, 
avoiding aborting some test cases when it would be better to finish generating 
them.
+
 .. _v6.127.5:
 
 --------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hypothesis-python-6.127.5/src/hypothesis/internal/conjecture/shrinker.py 
new/hypothesis-python-6.127.6/src/hypothesis/internal/conjecture/shrinker.py
--- 
old/hypothesis-python-6.127.5/src/hypothesis/internal/conjecture/shrinker.py    
    2025-03-03 10:41:43.000000000 +0100
+++ 
new/hypothesis-python-6.127.6/src/hypothesis/internal/conjecture/shrinker.py    
    2025-03-04 03:38:40.000000000 +0100
@@ -331,16 +331,7 @@
 
         # Because the shrinker is also used to `pareto_optimise` in the target 
phase,
         # we sometimes want to allow extending buffers instead of aborting at 
the end.
-        if in_target_phase:  # pragma: no cover
-            # TODO_IR: this is no longer used, but it should be. See
-            # 
https://github.com/HypothesisWorks/hypothesis/commit/91c63bb76c970effd6cf3c013d8ed98788cf0527
-            # we'll need to adjust for the new notion of size in terms of 
nodes,
-            # and change self.cached_test_function_ir.
-            from hypothesis.internal.conjecture.engine import BUFFER_SIZE
-
-            self.__extend = BUFFER_SIZE
-        else:
-            self.__extend = 0
+        self.__extend = "full" if in_target_phase else 0
         self.should_explain = explain
 
     @derived_value  # type: ignore
@@ -399,7 +390,9 @@
             if not choice_permitted(node.value, node.kwargs):
                 return None
 
-        result = self.engine.cached_test_function_ir([n.value for n in nodes])
+        result = self.engine.cached_test_function_ir(
+            [n.value for n in nodes], extend=self.__extend
+        )
         self.incorporate_test_data(result)
         self.check_calls()
         return result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hypothesis-python-6.127.5/src/hypothesis/version.py 
new/hypothesis-python-6.127.6/src/hypothesis/version.py
--- old/hypothesis-python-6.127.5/src/hypothesis/version.py     2025-03-03 
10:41:43.000000000 +0100
+++ new/hypothesis-python-6.127.6/src/hypothesis/version.py     2025-03-04 
03:38:40.000000000 +0100
@@ -8,5 +8,5 @@
 # v. 2.0. If a copy of the MPL was not distributed with this file, You can
 # obtain one at https://mozilla.org/MPL/2.0/.
 
-__version_info__ = (6, 127, 5)
+__version_info__ = (6, 127, 6)
 __version__ = ".".join(map(str, __version_info__))

Reply via email to