Skip to content

Bump hypothesis from 6.61.0 to 6.65.2

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

Bumps hypothesis from 6.61.0 to 6.65.2.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.65.2

This patch fixes invalid annotations detected for the tests generated by Ghostwritter. It will now correctly generate "Optional" types with just one type argument and handle union expressions inside of type arguments correctly. Additionally, it now supports code with the "from future import annotations" marker for Python 3.10 and newer.

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

Hypothesis for Python - version 6.65.1

This release improves the pretty-printing of enums in falsifying examples, so that they print as their full identifier rather than their repr.

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

Hypothesis for Python - version 6.65.0

Hypothesis now reports some failing inputs by showing the call which constructed an object, rather than the repr of the object. This can be helpful when the default repr does not include all relevant details, and will unlock further improvements in a future version.

For now, we capture calls made via "builds()", and via SearchStrategy.map().

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

Hypothesis for Python - version 6.64.0

The Ghostwritter will now include type annotations on tests for type- annotated code. If you want to force this to happen (or not happen), pass a boolean to the new "annotate=" argument to the Python functions, or the "--[no-]annotate" CLI flag.

Thanks to Nicolas Ganz for this new feature!

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

Hypothesis for Python - version 6.63.0

"range_indexes()" now accepts a "name=" argument, to generate named "pandas.RangeIndex" objects.

Thanks to Sam Watts for this new feature!

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

Hypothesis for Python - version 6.62.1

This patch tweaks "xps.arrays()" internals to improve PyTorch compatibility. Specifically, "torch.full()" does not accept integers as the shape argument (n.b. technically "size" in torch), but such behaviour is expected in internal code, so we copy the "torch" module

... (truncated)

Commits
  • 12d39b4 Bump hypothesis-python version to 6.65.2 and update changelog
  • 4c5b65d Merge pull request #3556 from ThunderKey/improve-type-detection-for-annotations
  • 8a1cd94 filter the empty annotations earlier
  • f7ed695 dont use _get_params for detecting the annotations, since the fallbacks dont ...
  • caf1775 Bump hypothesis-python version to 6.65.1 and update changelog
  • 736eb0f added missing no cover comment
  • 519ad35 Merge pull request #3561 from HypothesisWorks/DRMacIver/pretty-print-enums
  • f5e4ee4 if there is a syntax error in the annotations the should be ignored for the f...
  • 38ac9d9 simplified using eval_str for python >= 3.10
  • b2f7e6d Add missing release file
  • Additional commits viewable in compare view

Merge request reports

Loading