hypothesis breaking changes
Updated December 4, 2026
On this page
Latest version 6.170.28, released December 4, 2026. Source repository
Its 6.169.0 release drops Python 3.10. Python end of life dates.
- From 5.0.0 to 6.170.24: 155 breaking changes in 32 versions.
- From 4.0.0 to 6.170.24: 168 breaking changes in 33 versions.
hypothesis 6.170.24 breaking changes
- Behavior changed
given
Exceptions from quitting pdb (bdb.BdbQuit) or pytest.exit() inside a @given test now stop the run at once, like KeyboardInterrupt, rather than being treated as test failures and shrunk. github.com
hypothesis 6.170.18 breaking changes
- Behavior changed
randoms
Invalid arguments passed to randoms() instances now produce the same error behavior as the real random.Random. Code that catches the previous error types may need updating. github.com
hypothesis 6.170.15 breaking changes
- Signature changed
hypothesis.core.DeadlineExceeded.__reduce__
Was def __reduce__(self) -> tuple[type[DeadlineExceeded], tuple[timedelta, timedelta]]; now def __reduce__(self) -> tuple[type[Self], tuple[timedelta, timedelta]]. pypi.org - Signature changed
hypothesis.core.FlakyReplay.__init__
Was def __init__(self, reason, interesting_origins=None); now def __init__(self, reason: str, interesting_origins: Sequence[InterestingOrigin | None] = ()) -> None. pypi.org - Signature changed
hypothesis.extra.numpy.mutually_broadcastable_shapes
Was def mutually_broadcastable_shapes(*args, **kwargs); now def mutually_broadcastable_shapes(**kwargs: Any) -> st.SearchStrategy[BroadcastableShapes]. pypi.org - Signature changed
hypothesis.extra.numpy.valid_tuple_axes
Was def valid_tuple_axes(*args, **kwargs); now def valid_tuple_axes(ndim: int, **kwargs: Any) -> st.SearchStrategy[tuple[int, ...]]. pypi.org
hypothesis 6.170.12 breaking changes
- Removed
hypothesis.internal.conjecture.data.choices_size
hypothesis.internal.conjecture.data.choices_size was removed in hypothesis 6.170.12 pypi.org - Removed
hypothesis.internal.coverage.description_stack
hypothesis.internal.coverage.description_stack was removed in hypothesis 6.170.12 pypi.org
hypothesis 6.170.11 breaking changes
- Removed
hypothesis.internal.observability.max_age
hypothesis.internal.observability.max_age was removed in hypothesis 6.170.11 pypi.org
hypothesis 6.170.10 breaking changes
- Removed
hypothesis.internal.conjecture.providers.many.drawn
hypothesis.internal.conjecture.providers.many.drawn was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.providers.many.more
hypothesis.internal.conjecture.providers.many.more was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.providers.many.rejected
hypothesis.internal.conjecture.providers.many.rejected was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.providers.many.start_span
hypothesis.internal.conjecture.providers.many.start_span was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.providers.many.stop_span
hypothesis.internal.conjecture.providers.many.stop_span was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.utils.many.drawn
hypothesis.internal.conjecture.utils.many.drawn was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.utils.many.more
hypothesis.internal.conjecture.utils.many.more was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.utils.many.rejected
hypothesis.internal.conjecture.utils.many.rejected was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.utils.many.start_span
hypothesis.internal.conjecture.utils.many.start_span was removed in hypothesis 6.170.10 pypi.org - Removed
hypothesis.internal.conjecture.utils.many.stop_span
hypothesis.internal.conjecture.utils.many.stop_span was removed in hypothesis 6.170.10 pypi.org
Older versions
28 older versions, each with its first changes. Sign up to see every change
Show 28 older versions
hypothesis 6.170.7 breaking changes
- Signature changed
hypothesis.stateful.Bundle.__init__
Was def __init__(self, name: str, *, consume: bool = False, draw_references: bool = False, transformations: tuple[tuple[Literal['filter', 'map'], Callable[[Ex], Any], str | None], ...] = ()) -> None; now def __init__(self, name: str, *... pypi.org - Signature changed
hypothesis.stateful.RuleBasedStateMachine.bundles
Was bundles: dict[str, list]; now bundles: dict[str, list[VarReference]]. pypi.org
And 1 more in this version.
hypothesis 6.170.6 breaking changes
- Signature changed
hypothesis.internal.charmap.categories
Was def categories() -> Categories; now def categories() -> CategoriesTuple. pypi.org - Signature changed
hypothesis.internal.conjecture.shrinker.Float.make_canonical
Was def make_canonical(self, f); now def make_canonical(self, value). pypi.org
And 3 more in this version.
hypothesis 6.170.4 breaking changes
- Signature changed
hypothesis.core.ConjectureRunner.pareto_key
Was pareto_key: bytes | None; now pareto_key: bytes. pypi.org - Signature changed
hypothesis.core.ConjectureRunner.secondary_key
Was secondary_key: bytes | None; now secondary_key: bytes. pypi.org
And 1 more in this version.
hypothesis 6.170.0 breaking changes
- Signature changed
hypothesis.internal.conjecture.provider_conformance.run_conformance_test
Was def run_conformance_test(Provider: type[PrimitiveProvider], *, context_manager_exceptions: Collection[type[BaseException]] = (), settings: Settings | None = None, _realize_objects: SearchStrategy[Any] = st.from_type(object) |... pypi.org
hypothesis 6.169.0 breaking changes
- Removed
The release ends support for Python 3.10. Users on Python 3.10 must upgrade their Python version to keep using this release line. github.com - Removed
hypothesis.control.BaseExceptionGroup
hypothesis.control.BaseExceptionGroup was removed in hypothesis 6.169.0 pypi.org
And 7 more in this version.
hypothesis 6.168.5 breaking changes
- Signature changed
hypothesis.extra.django.from_field
Was def from_field(field: F) -> st.SearchStrategy[F | None]; now def from_field(field: AnyField) -> st.SearchStrategy[Any]. pypi.org
hypothesis 6.167.1 breaking changes
- Signature changed
hypothesis.internal.conjecture.providers.many.stop_span
Was def stop_span(self); now def stop_span(self, *, discard: bool = False) -> None. pypi.org - Signature changed
hypothesis.internal.conjecture.utils.many.stop_span
Was def stop_span(self); now def stop_span(self, *, discard: bool = False) -> None. pypi.org
hypothesis 6.167.0 breaking changes
- Signature changed
hypothesis.control.ConjectureData.mark_invalid
Was def mark_invalid(self, why: str | None = None) -> NoReturn; now def mark_invalid(self, why: str | None = None, *, location: str | None = None) -> NoReturn. pypi.org - Signature changed
hypothesis.control.UnsatisfiedAssumption.__init__
Was def __init__(self, reason: str | None = None) -> None; now def __init__(self, reason: str | None = None, *, location: str | None = None) -> None. pypi.org
And 6 more in this version.
hypothesis 6.166.0 breaking changes
- Removed
hypothesis.control.BuildContext.track_arg_label
BuildContext.track_arg_label was removed in hypothesis 6.166.0 pypi.org
hypothesis 6.165.5 breaking changes
- Removed
hypothesis.core.ConjectureRunner.best_examples_of_observed_targets
ConjectureRunner.best_examples_of_observed_targets was removed in hypothesis 6.165.5 pypi.org - Removed
hypothesis.core.ConjectureRunner.generate_new_examples
ConjectureRunner.generate_new_examples was removed in hypothesis 6.165.5 pypi.org
And 16 more in this version.
hypothesis 6.165.4 breaking changes
- Behavior changed
hypothesis.target
For max_examples of 1000 or more, optimisation of hypothesis.target() scores now starts earlier and alternates with generation while scores keep improving. Behaviour below 1000 is unchanged. github.com - Signature changed
hypothesis.core.ConjectureRunner.optimise_targets
Was def optimise_targets(self) -> None; now def optimise_targets(self, *, max_valid: int | None = None) -> bool. pypi.org
hypothesis 6.165.2 breaking changes
- Signature changed
hypothesis.internal.conjecture.choice.ValueHole.__init__
Was def __init__(self, value: ChoiceT) -> None; now def __init__(self, value: object) -> None. pypi.org - Signature changed
hypothesis.internal.conjecture.choice.ValueHole.value
Was value: ChoiceT; now value: object. pypi.org
hypothesis 6.165.1 breaking changes
- Signature changed
hypothesis.control.ConjectureData.__init__
Was def __init__(self, *, random: Random | None, observer: DataObserver | None = None, provider: PrimitiveProvider | type[PrimitiveProvider] = HypothesisProvider, prefix: Sequence[ChoiceTemplate | ChoiceT] | None = None, max_choices: int |... pypi.org - Signature changed
hypothesis.control.ConjectureData.for_choices
Was @classmethod def for_choices(cls, choices: Sequence[ChoiceTemplate | ChoiceT], *, observer: DataObserver | None = None, provider: PrimitiveProvider | type[PrimitiveProvider] = HypothesisProvider, random: Random | None = None) ->... pypi.org
And 3 more in this version.
hypothesis 6.165.0 breaking changes
- Behavior changed
characters
characters() now issues NonRoundTrippableCharactersWarning when the codec allows characters that encode but do not decode back to the same character. Pass such characters in include_characters to keep them without the warning, or in... github.com - Signature changed
hypothesis.internal.charmap.intervals_from_codec
Was def intervals_from_codec(codec_name: str) -> IntervalSet; now def intervals_from_codec(codec_name: str) -> tuple[IntervalSet, IntervalSet]. pypi.org
And 1 more in this version.
hypothesis 6.164.0 breaking changes
- Behavior changed
functions
Generated functions now match the kind of the like= argument, so async, generator and async generator functions are imitated too. Code that relied on plain functions being generated may see different results. pure=True is only supported... github.com
hypothesis 6.163.1 breaking changes
- Behavior changed
The explain phase now omits standard library lines from its explanations, so output may differ from earlier versions. github.com
hypothesis 6.163.0 breaking changes
- Signature changed
hypothesis.internal.conjecture.provider_conformance.OneCharStringStrategy.from_alphabet
Was @classmethod def from_alphabet(cls, alphabet: str | SearchStrategy) -> OneCharStringStrategy; now @classmethod def from_alphabet(cls, alphabet: Collection[str] | SearchStrategy[str]) -> OneCharStringStrategy | None. pypi.org - Signature changed
hypothesis.strategies.from_regex
Was def from_regex(regex: AnyStr | Pattern[AnyStr], *, fullmatch: bool = False, alphabet: str | SearchStrategy[str] | None = None) -> SearchStrategy[AnyStr]; now def from_regex(regex: AnyStr | Pattern[AnyStr], *, fullmatch: bool = False... pypi.org
hypothesis 6.161.3 breaking changes
- Behavior changed
The internal @proxies decorator keeps the kind of the decorated function, so proxies for async and generator functions are themselves functions of the same kind. This is an internal change that prepares for future functions() support. github.com
hypothesis 6.161.0 breaking changes
- Removed
hypothesis.control.ConjectureData.output
ConjectureData.output was removed in hypothesis 6.161.0 pypi.org - Removed
hypothesis.internal.conjecture.data.ConjectureResult.output
ConjectureResult.output was removed in hypothesis 6.161.0 pypi.org
And 3 more in this version.
hypothesis 6.160.0 breaking changes
- Removed
hypothesis.stateful.BundleReferenceStrategy
hypothesis.stateful.BundleReferenceStrategy was removed in hypothesis 6.160.0 pypi.org - Behavior changed
Bundle.filter
Filtered bundle draws no longer remove rejected values from the bundle while retrying; they choose among currently-matching values and consume only the value actually drawn. Code relying on the old removal behavior may need review. github.com
And 3 more in this version.
hypothesis 6.158.0 breaking changes
- Signature changed
hypothesis.strategies.datetimes
Was def datetimes(min_value: dt.datetime = dt.datetime.min, max_value: dt.datetime = dt.datetime.max, *, timezones: SearchStrategy[dt.tzinfo | None] = none(), allow_imaginary: bool = True) -> SearchStrategy[dt.datetime]; now def... pypi.org
hypothesis 6.157.2 breaking changes
- Removed
hypothesis.internal.floats.FloatFormat
hypothesis.internal.floats.FloatFormat was removed in hypothesis 6.157.2 pypi.org - Removed
hypothesis.internal.floats.IntFormat
hypothesis.internal.floats.IntFormat was removed in hypothesis 6.157.2 pypi.org
And 33 more in this version.
hypothesis 6.157.1 breaking changes
- Removed
hypothesis.control.ConjectureData.arg_slices
ConjectureData.arg_slices was removed in hypothesis 6.157.1 pypi.org - Removed
hypothesis.control.ConjectureData.slice_comments
ConjectureData.slice_comments was removed in hypothesis 6.157.1 pypi.org
And 5 more in this version.
hypothesis 6.156.9 breaking changes
- Signature changed
hypothesis.core.RepresentationPrinter.repr_call
Was def repr_call(self, func_name: str, args: Sequence[object], kwargs: dict[str, object], *, force_split: bool | None = None, arg_slices: ArgLabelsT | None = None, leading_comment: str | None = None, avoid_realization: bool = False) ->... pypi.org
hypothesis 6.156.7 breaking changes
- Removed
hypothesis.stateful.BundleConsumer
hypothesis.stateful.BundleConsumer was removed in hypothesis 6.156.7 pypi.org
hypothesis 6.0.0 breaking changes
- Removed
hypothesis.control.deprecated_posargs
hypothesis.control.deprecated_posargs was removed in hypothesis 6.0.0 pypi.org - Removed
hypothesis.core.deprecated_posargs
hypothesis.core.deprecated_posargs was removed in hypothesis 6.0.0 pypi.org
And 11 more in this version.
hypothesis 5.0.0 breaking changes
- Removed
hypothesis.extra.django.models
hypothesis.extra.django.models was removed in hypothesis 5.0.0 pypi.org - Removed
hypothesis.extra.numpy.current_verbosity
hypothesis.extra.numpy.current_verbosity was removed in hypothesis 5.0.0 pypi.org
And 11 more in this version.
hypothesis 4.0.0 breaking changes
- Removed
hypothesis.control.BuildContext.local
BuildContext.local was removed in hypothesis 4.0.0 pypi.org - Removed
hypothesis.core.ceil
hypothesis.core.ceil was removed in hypothesis 4.0.0 pypi.org
And 49 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.