Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.58.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Nov 19, 2022
1 parent 41b420a commit 5ac01d1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
9 changes: 0 additions & 9 deletions hypothesis-python/RELEASE.rst

This file was deleted.

14 changes: 14 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ Hypothesis 6.x

.. include:: ../RELEASE.rst

.. _v6.58.0:

-------------------
6.58.0 - 2022-11-19
-------------------

:func:`~hypothesis.register_random` has used :mod:`weakref` since :ref:`v6.27.1`,
allowing the :class:`~random.Random`-compatible objects to be garbage-collected when
there are no other references remaining in order to avoid memory leaks.
We now raise an error or emit a warning when this seems likely to happen immediately.

The type annotation of :func:`~hypothesis.register_random` was also widened so that
structural subtypes of :class:`~random.Random` are accepted by static typecheckers.

.. _v6.57.1:

-------------------
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.

__version_info__ = (6, 57, 1)
__version_info__ = (6, 58, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 5ac01d1

Please sign in to comment.