Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis version 6.158.0

Choose a tag to compare

@Zac-HD Zac-HD released this 21 Jul 08:33

"datetimes()" now accepts timezone-aware "min_value" and "max_value"
bounds, which are treated as moments in time. In this case "timezones"
defaults to "timezones()", and each generated datetime lies between
the two moments. Passing one aware and one naive bound is an error.

If annotated-types has been imported, the overloaded type hints for
this strategy now distinguish naive from aware datetimes using
"Timezone" metadata.

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

Hypothesis version 6.157.2

Choose a tag to compare

@Zac-HD Zac-HD released this 20 Jul 23:22

This patch continues our migration of Hypothesis internals to rust
(issue #4740), porting some internal float helpers. There should be no
user-visible change. If you see any change in behavior, please open an
issue.

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

Hypothesis version 6.157.1

Choose a tag to compare

@Zac-HD Zac-HD released this 20 Jul 14:10

Internal refactoring of how "Phase.explain" tracks which parts of a
failing example can vary, with no user-visible change.

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

Hypothesis version 6.157.0

Choose a tag to compare

@Zac-HD Zac-HD released this 19 Jul 08:03

"from_type()" now supports the annotated-types "Timezone" constraint
on "datetime" and "time", resolves the typing-extensions
"TypeAliasType" backport as well as the native form from Python 3.12+,
and suggests subscripting generic aliases like
"annotated_types.LowerCase" if they are mistakenly passed as
"Annotated" metadata.

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

Hypothesis version 6.156.9

Choose a tag to compare

@Zac-HD Zac-HD released this 19 Jul 00:40

This release improves observability output under symbolic backends by
displaying arguments generated by "data()" as "data(...)".

Thanks to zhangli091011 for this fix!

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

Hypothesis version 6.156.8

Choose a tag to compare

@Zac-HD Zac-HD released this 19 Jul 00:16

This patch improves the performance of unique collections drawing from
a fixed pool of elements, such as "sets()" of "sampled_from()", under
symbolic-execution backends such as hypothesis-crosshair.

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

Hypothesis version 6.156.7

Choose a tag to compare

@Zac-HD Zac-HD released this 18 Jul 12:17

This patch fixes a bug where calling ".flatmap()" on a "consumes()"
bundle raised an error (issue #4427).

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

Hypothesis version 6.156.6

Choose a tag to compare

@Zac-HD Zac-HD released this 10 Jul 20:57

This patch fixes "GitHubArtifactDatabase" failing to download
artifacts due to a colliding "Authorization" header.

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

Hypothesis version 6.156.5

Choose a tag to compare

@Zac-HD Zac-HD released this 10 Jul 14:23

We now publish abi3 wheels for 32-bit linux and 32-bit windows.

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

Hypothesis version 6.156.4

Choose a tag to compare

@Zac-HD Zac-HD released this 08 Jul 21:56

In addition to our version-specific wheels, we now also publish "abi3"
wheels, built against the 3.10 stable ABI.

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