Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.90.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Nov 20, 2023
1 parent 04d86cc commit 7fad347
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
15 changes: 0 additions & 15 deletions hypothesis-python/RELEASE.rst

This file was deleted.

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

.. include:: ../RELEASE.rst

.. _v6.90.0:

-------------------
6.90.0 - 2023-11-20
-------------------

This release makes it an error to assign ``settings = settings(...)``
as a class attribute on a :class:`~hypothesis.stateful.RuleBasedStateMachine`.
This has never had any effect, and it should be used as a decorator instead:

.. code-block: python
class BadMachine(RuleBasedStateMachine):
"""This doesn't do anything, and is now an error!"""
settings = settings(derandomize=True)
@settings(derandomize=True)
class GoodMachine(RuleBasedStateMachine):
"""This is the right way to do it :-)"""
.. _v6.89.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, 89, 1)
__version_info__ = (6, 90, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 7fad347

Please sign in to comment.