Skip to content

Bump hypothesis from 6.23.1 to 6.29.0

WKDV Bot requested to merge dependabot/pip/hypothesis-6.29.0 into develop

Bumps hypothesis from 6.23.1 to 6.29.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.29.0

This release teaches "builds()" to use "deferred()" when resolving unrecognised type hints, so that you can conveniently register strategies for recursive types with constraints on some arguments (issue #3026):

class RecursiveClass: def init(self, value: int, next_node: typing.Optional["SomeClass"]): assert value > 0 self.value = value self.next_node = next_node

st.register_type_strategy( RecursiveClass, st.builds(RecursiveClass, value=st.integers(min_value=1)) )

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

Hypothesis for Python - version 6.28.1

This release fixes some internal calculations related to collection sizes (issue #3143).

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

Hypothesis for Python - version 6.28.0

This release modifies our pytest plugin, to avoid importing Hypothesis and therefore triggering Hypothesis' entry points for test suites where Hypothesis is installed but not actually used (issue #3140).

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

Hypothesis for Python - version 6.27.3

This release fixes issue #3080, where "from_type()" failed on unions containing PEP 585 builtin generic types (like "list[int]") in Python 3.9 and later.

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

Hypothesis for Python - version 6.27.2

This patch makes the hypothesis codemod command somewhat faster.

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

Hypothesis for Python - version 6.27.1

This patch changes the backing datastructures of "register_random()" and a few internal caches to use "weakref.WeakKeyDictionary". This reduces memory usage and may improve performance when registered "Random" instances are only used for a subset of your tests (issue #3131).

... (truncated)

Commits
  • 0ccfaa7 Bump hypothesis-python version to 6.29.0 and update changelog
  • 96d0e4a Merge pull request #3164 from Zac-HD/defer-builds-inference
  • 3ffecc1 Doc light-theme vars
  • 1e543f2 Register recursive types
  • 4d7506f Bump hypothesis-python version to 6.28.1 and update changelog
  • 84afe88 Merge pull request #3160 from Zac-HD/denser-small-arrays
  • d28ffc2 Bump hypothesis-python version to 6.28.0 and update changelog
  • eca4cff Merge pull request #3159 from Zac-HD/defer-plugin-imports
  • 4c64ee5 Merge pull request #3162 from HypothesisWorks/create-pull-request/patch
  • 59521cd Fix average_size calculation
  • Additional commits viewable in compare view

Merge request reports

Loading