aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-08-21 01:59:56 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-08-21 02:07:42 +0300
commitd18b988a03fd41daa2ae012f6a4c52fa19f8e96a (patch)
tree49eb34ccce56b858f8e036fc2f64cd2e646f625e /contrib/python
parent9960bc359ba411fc8799627e470458da4e6a92a2 (diff)
downloadydb-d18b988a03fd41daa2ae012f6a4c52fa19f8e96a.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/hypothesis/py3/.dist-info/METADATA2
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py5
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/version.py2
-rw-r--r--contrib/python/hypothesis/py3/ya.make2
4 files changed, 7 insertions, 4 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA
index 557900da69..fa7fb92111 100644
--- a/contrib/python/hypothesis/py3/.dist-info/METADATA
+++ b/contrib/python/hypothesis/py3/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hypothesis
-Version: 6.108.8
+Version: 6.108.9
Summary: A library for property-based testing
Home-page: https://hypothesis.works
Author: David R. MacIver and Zac Hatfield-Dodds
diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py
index 71f2ccc0b5..91f731cf44 100644
--- a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py
+++ b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py
@@ -999,7 +999,10 @@ class ConjectureRunner:
self._current_phase = "generate"
prefix = self.generate_novel_prefix()
- assert len(prefix) <= BUFFER_SIZE
+ # it is possible, if unlikely, to generate a > BUFFER_SIZE novel prefix,
+ # as nodes in the novel tree may be variable sized due to eg integer
+ # probe retries.
+ prefix = prefix[:BUFFER_SIZE]
if (
self.valid_examples <= small_example_cap
and self.call_count <= 5 * small_example_cap
diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py
index f800a2e0aa..d711a8c383 100644
--- a/contrib/python/hypothesis/py3/hypothesis/version.py
+++ b/contrib/python/hypothesis/py3/hypothesis/version.py
@@ -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, 108, 8)
+__version_info__ = (6, 108, 9)
__version__ = ".".join(map(str, __version_info__))
diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make
index 65d6b4d769..d5dcf56845 100644
--- a/contrib/python/hypothesis/py3/ya.make
+++ b/contrib/python/hypothesis/py3/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(6.108.8)
+VERSION(6.108.9)
LICENSE(MPL-2.0)