Skip to content

Commit 878d8d4

Browse files
committed
Bump hypothesis version to 6.158.0 and update changelog
[skip ci]
1 parent a4a0189 commit 878d8d4

4 files changed

Lines changed: 18 additions & 13 deletions

File tree

hypothesis/RELEASE.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

hypothesis/docs/changelog.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ Hypothesis 6.x
1818

1919
.. include:: ../RELEASE.rst
2020

21+
.. _v6.158.0:
22+
23+
--------------------
24+
6.158.0 - 2026-07-21
25+
--------------------
26+
27+
:func:`~hypothesis.strategies.datetimes` now accepts timezone-aware
28+
``min_value`` and ``max_value`` bounds, which are treated as moments in time.
29+
In this case ``timezones`` defaults to :func:`~hypothesis.strategies.timezones`,
30+
and each generated datetime lies between the two moments.
31+
Passing one aware and one naive bound is an error.
32+
33+
If :pypi:`annotated-types` has been imported, the overloaded type hints
34+
for this strategy now distinguish naive from aware datetimes using
35+
``Timezone`` metadata.
36+
2137
.. _v6.157.2:
2238

2339
--------------------

hypothesis/rust/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hypothesis/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hypothesis-native"
3-
version = "6.157.2"
3+
version = "6.158.0"
44
edition = "2021"
55
rust-version = "1.91"
66
publish = false

0 commit comments

Comments
 (0)