Skip to content

chore(deps): update dependency hypothesis to v6.155.7#1367

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/hypothesis-6.x-lockfile
Open

chore(deps): update dependency hypothesis to v6.155.7#1367
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/hypothesis-6.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
hypothesis (changelog) 6.142.26.155.7 age confidence

Release Notes

HypothesisWorks/hypothesis (hypothesis)

v6.155.7: Hypothesis version 6.155.7

Compare Source

This patch fixes a thread-safety bug where concurrent use of the same
strategy instance could error in rare cases. (issue #​4475).

The canonical version of these notes (with links) is on readthedocs.

v6.155.6: Hypothesis version 6.155.6

Compare Source

This patch replaces some internal "%"-style string formatting with
f-strings. There is no user-visible change.

The canonical version of these notes (with links) is on readthedocs.

v6.155.5: Hypothesis version 6.155.5

Compare Source

"dates()" now raises "InvalidArgument" if a "datetime" is passed as
"min_value" or "max_value". Because "datetime" is a subclass of
"date", such bounds were previously accepted and then failed with a
confusing "TypeError" while generating examples.

The canonical version of these notes (with links) is on readthedocs.

v6.155.4: Hypothesis version 6.155.4

Compare Source

This patch removes a stray "print()" which fired whenever a "dates()"
filter was rewritten.

The canonical version of these notes (with links) is on readthedocs.

v6.155.3: Hypothesis version 6.155.3

Compare Source

When using an alternative backend (such as hypothesis-crosshair),
Hypothesis no longer emits a "test_case" observation for an iteration
that the backend aborts via "BackendCannotProceed" before the test
body runs
. Previously such an iteration -- for example when the
crosshair backend has exhausted its search paths -- could surface as a
spurious, draw-less "passed" observation with an empty representation,
even though the engine already discards the iteration entirely.

The canonical version of these notes (with links) is on readthedocs.

v6.155.2: Hypothesis version 6.155.2

Compare Source

This patch rewrites the internal date- and time-drawing helper to use
plain arithmetic instead of branching on the values it draws. The
generated distribution is unchanged, but "dates()", "datetimes()", and
"times()" are now much more efficient under symbolic-execution
backends such as crosshair-tool, which can now solve for a specific
date directly rather than enumerating candidates (issue #​4759).

The canonical version of these notes (with links) is on readthedocs.

v6.155.1: Hypothesis version 6.155.1

Compare Source

Shrinking large floats, strings, and bytestrings is now much faster in
some cases (issue #​4006).

The canonical version of these notes (with links) is on readthedocs.

v6.155.0: Hypothesis version 6.155.0

Compare Source

"from_dtype()" now supports the variable-width string dtype
"numpy.dtypes.StringDType", generating arbitrary strings via "text()"
(issue #​4039).

Additionally, passing a dtype class such as "np.dtypes.StringDType"
where an instance like "np.dtypes.StringDType()" was expected now
raises a clear error, rather than the previous confusing message (or
silent coercion to the object dtype in "arrays()").

The canonical version of these notes (with links) is on readthedocs.

v6.154.2: Hypothesis version 6.154.2

Compare Source

This patch improves the type annotations of "fixed_dictionaries()",
which now accepts a "Mapping" rather than requiring an invariant
"dict". Because the value type is covariant, type-checkers can now
infer the generated type even when the strategies are heterogeneous,
e.g. a "mapping" annotated as "dict[str, SearchStrategy[int] |
SearchStrategy[str]]" (issue #​4665).

The "mapping" and "optional" arguments may now also have different key
and value types, which are unioned in the inferred result.

The canonical version of these notes (with links) is on readthedocs.

v6.154.1: Hypothesis version 6.154.1

Compare Source

This patch fixes a bug where resolving recursive forward references in
"from_type()" (such as "A = list[Union["A", str]]", added in
v6.152.11) could recurse until it hit the interpreter's recursion
limit before falling back to a deferred strategy. Because this
depended on the ambient stack depth, it occasionally surfaced as a
spurious "RecursionError" or other flaky failure. We now break the
cycle eagerly by deferring, so resolution uses a small and constant
amount of stack regardless of how deeply nested the reference is.

The canonical version of these notes (with links) is on readthedocs.

v6.154.0: Hypothesis version 6.154.0

Compare Source

"fixed_dictionaries()" now varies the iteration order of the dicts it
generates, rather than always placing the required keys first, to help
find bugs in code which is sensitive to key order (issue #​3906). If
you need a stable order, we recommend using
"fixed_dictionaries(...).map(stable_sort_function)" or similar.

The canonical version of these notes (with links) is on readthedocs.

v6.153.6: Hypothesis version 6.153.6

Compare Source

The "--hypothesis-show-statistics" report now accounts for the
"Phase.explain" phase separately, rather than including its runtime
and test cases in the "Phase.shrink" phase (issue #​4179).

The canonical version of these notes (with links) is on readthedocs.

v6.153.5: Hypothesis version 6.153.5

Compare Source

This patch dramatically improves the performance of "from_type()" on
hierarchies of abstract classes whose subclasses refer back to the
base class (directly, or via a sibling subclass) in their annotations.
Resolution previously took time cubic in the number of subclasses; we
now resolve each type only once (issue #​4729).

The canonical version of these notes (with links) is on readthedocs.

v6.153.4: Hypothesis version 6.153.4

Compare Source

This patch fixes a bug where fuzz_one_input did not track the
"interesting_origin" of failures (issue #​4420). As a result, it only
saved the single smallest failure to the database rather than the
smallest example of each distinct failure, and the
"interesting_origin" was missing from observability reports.

The canonical version of these notes (with links) is on readthedocs.

v6.153.3: Hypothesis version 6.153.3

Compare Source

This patch fixes a bug where "decimals()" with the "places" argument
could generate values outside the "min_value" and "max_value" bounds,
when those bounds had more fractional digits than "places" (issue
#​4651).

The canonical version of these notes (with links) is on readthedocs.

v6.153.2: Hypothesis version 6.153.2

Compare Source

This patch improves the performance of stateful testing for state
machines with a large number of rules (issue #​4465).

The canonical version of these notes (with links) is on readthedocs.

v6.153.1: Hypothesis version 6.153.1

Compare Source

This patch fixes a bug where we emitted incorrect git patch files when
one file did not have a trailing newline (issue #​4744).

The canonical version of these notes (with links) is on readthedocs.

v6.153.0: Hypothesis version 6.153.0

Compare Source

"event()"'s "payload" is now typed as accepting "Any", matching its
runtime behavior of accepting any string-coercible object.

The canonical version of these notes (with links) is on readthedocs.

v6.152.12: Hypothesis version 6.152.12

Compare Source

When Hypothesis detects that your data generation is flaky and raises
"FlakyStrategyDefinition", the error message now describes what
differed between the two runs - such as a different choice type,
different constraints, or drawing more or less data - as well as the
stack of strategies being drawn from, instead of only reporting that
generation was inconsistent. In stateful tests, it also reports the
steps leading up to the error.

Thanks to Ian Hunt-Isaak for this improvement!

The canonical version of these notes (with links) is on readthedocs.

v6.152.11: Hypothesis version 6.152.11

Compare Source

This patch adds support for recursive forward references in
"from_type()", such as "A = list[Union["A", str]]" (issue #​4542).
Previously, such recursive type aliases would raise a
"ResolutionFailed" error. Now, Hypothesis can automatically resolve
the forward reference by looking it up in the caller's namespace. This
also resolves forward references inside "type[...]", such as
"type["MyClass"]".

The canonical version of these notes (with links) is on readthedocs.

v6.152.10: Hypothesis version 6.152.10

Compare Source

This patch renames our source code directory from "hypothesis-python"
to "hypothesis", and changes our canonical scheme for git tags from
"hypothesis-python-X.Y.Z" to "vX.Y.Z".

We have backfilled git tags in the new "vX.Y.Z" scheme. Any
distributions or build scripts which rely on the git tag scheme should
update to the new scheme.

The canonical version of these notes (with links) is on readthedocs.

v6.152.9

Compare Source

v6.152.8

Compare Source

v6.152.7

Compare Source

v6.152.6

Compare Source

v6.152.5

Compare Source

v6.152.4

Compare Source

v6.152.3

Compare Source

v6.152.2

Compare Source

v6.152.1

Compare Source

v6.152.0

Compare Source

v6.151.14

Compare Source

v6.151.13

Compare Source

v6.151.12

Compare Source

v6.151.11

Compare Source

v6.151.10

Compare Source

v6.151.9

Compare Source

v6.151.8

Compare Source

v6.151.7

Compare Source

v6.151.6

Compare Source

v6.151.5

Compare Source

v6.151.4

Compare Source

v6.151.3

Compare Source

v6.151.2

Compare Source

v6.151.1

Compare Source

v6.151.0

Compare Source

v6.150.3

Compare Source

v6.150.2

Compare Source

v6.150.1

Compare Source

v6.150.0

Compare Source

v6.149.1

Compare Source

v6.149.0

Compare Source

v6.148.13

Compare Source

v6.148.12

Compare Source

v6.148.11

Compare Source

v6.148.10

Compare Source

v6.148.9

Compare Source

v6.148.8

Compare Source

v6.148.7

Compare Source

v6.148.6

Compare Source

v6.148.5

Compare Source

v6.148.4

Compare Source

v6.148.3

Compare Source

v6.148.2

Compare Source

v6.148.1

Compare Source

v6.148.0

Compare Source

v6.147.0

Compare Source

v6.146.0

Compare Source

v6.145.1

Compare Source

v6.145.0

Compare Source

v6.144.1

Compare Source

v6.144.0

Compare Source

v6.143.1

Compare Source

v6.143.0

Compare Source

v6.142.5

Compare Source

v6.142.4

Compare Source

v6.142.3

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 3b99bfe to 2430634 Compare October 25, 2025 17:01
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.142.3 chore(deps): update dependency hypothesis to v6.142.4 Oct 25, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 2430634 to 252317c Compare October 31, 2025 07:51
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.142.4 chore(deps): update dependency hypothesis to v6.142.5 Oct 31, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 252317c to 93facb4 Compare November 2, 2025 01:37
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.142.5 chore(deps): update dependency hypothesis to v6.143.0 Nov 2, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 93facb4 to 587ac6b Compare November 2, 2025 05:45
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.143.0 chore(deps): update dependency hypothesis to v6.143.1 Nov 2, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 587ac6b to c3816c4 Compare November 3, 2025 00:37
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.143.1 chore(deps): update dependency hypothesis to v6.144.0 Nov 3, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from c3816c4 to 7d19a95 Compare November 3, 2025 10:04
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.144.0 chore(deps): update dependency hypothesis to v6.145.0 Nov 3, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 7d19a95 to bb7b048 Compare November 4, 2025 00:52
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.145.0 chore(deps): update dependency hypothesis to v6.145.1 Nov 4, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from bb7b048 to d7dab4e Compare November 5, 2025 09:50
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.145.1 chore(deps): update dependency hypothesis to v6.146.0 Nov 5, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from d7dab4e to 1756d78 Compare November 6, 2025 20:32
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.146.0 chore(deps): update dependency hypothesis to v6.147.0 Nov 6, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 1756d78 to c097d0d Compare November 15, 2025 10:34
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.147.0 chore(deps): update dependency hypothesis to v6.148.0 Nov 15, 2025
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.0 chore(deps): update dependency hypothesis to v6.148.1 Nov 16, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from c097d0d to 70fbc04 Compare November 16, 2025 09:13
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.1 chore(deps): update dependency hypothesis to v6.148.2 Nov 18, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 70fbc04 to 8043894 Compare November 18, 2025 22:38
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 8043894 to 2de8f9f Compare November 27, 2025 09:59
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.2 chore(deps): update dependency hypothesis to v6.148.3 Nov 27, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 2de8f9f to c9a88f3 Compare December 1, 2025 08:39
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.3 chore(deps): update dependency hypothesis to v6.148.5 Dec 1, 2025
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from c9a88f3 to efff41f Compare December 4, 2025 08:28
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.5 chore(deps): update dependency hypothesis to v6.148.6 Dec 4, 2025
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.12 chore(deps): update dependency hypothesis to v6.148.13 Jan 5, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 1d6e488 to b53807c Compare January 5, 2026 08:46
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.148.13 chore(deps): update dependency hypothesis to v6.149.0 Jan 5, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from b53807c to af0d7d0 Compare January 6, 2026 00:58
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.149.0 chore(deps): update dependency hypothesis to v6.149.1 Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from af0d7d0 to 6b7efa2 Compare January 6, 2026 21:14
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.149.1 chore(deps): update dependency hypothesis to v6.150.0 Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 6b7efa2 to 3344e03 Compare January 12, 2026 09:15
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.150.0 chore(deps): update dependency hypothesis to v6.150.1 Jan 12, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 3344e03 to 4a030e3 Compare January 13, 2026 18:12
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.150.1 chore(deps): update dependency hypothesis to v6.150.2 Jan 13, 2026
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.150.2 chore(deps): update dependency hypothesis to v6.150.3 Jan 23, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 4a030e3 to b6fec04 Compare January 23, 2026 08:55
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.150.3 chore(deps): update dependency hypothesis to v6.151.0 Jan 25, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch 2 times, most recently from 4517c81 to 65a4ced Compare January 26, 2026 06:31
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.0 chore(deps): update dependency hypothesis to v6.151.1 Jan 26, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 65a4ced to 49be4e3 Compare January 26, 2026 10:36
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.1 chore(deps): update dependency hypothesis to v6.151.2 Jan 26, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 49be4e3 to 8b7b2f6 Compare January 28, 2026 08:47
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.2 chore(deps): update dependency hypothesis to v6.151.3 Jan 28, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 8b7b2f6 to e8465b1 Compare January 29, 2026 01:58
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.3 chore(deps): update dependency hypothesis to v6.151.4 Jan 29, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from e8465b1 to dc6908c Compare February 3, 2026 22:14
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.4 chore(deps): update dependency hypothesis to v6.151.5 Feb 3, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from dc6908c to 2bc2d53 Compare February 11, 2026 04:50
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.5 chore(deps): update dependency hypothesis to v6.151.6 Feb 11, 2026
@renovate renovate Bot force-pushed the renovate/hypothesis-6.x-lockfile branch from 2bc2d53 to 2760cc8 Compare February 16, 2026 10:37
@renovate renovate Bot changed the title chore(deps): update dependency hypothesis to v6.151.6 chore(deps): update dependency hypothesis to v6.151.7 Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants