Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.35.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Jan 8, 2022
1 parent cc1317e commit d1bfc4a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
11 changes: 0 additions & 11 deletions hypothesis-python/RELEASE.rst

This file was deleted.

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

.. include:: ../RELEASE.rst

.. _v6.35.0:

-------------------
6.35.0 - 2022-01-08
-------------------

This release disallows using :obj:`python:typing.ClassVar`
with :func:`~hypothesis.strategies.from_type`
and :func:`~hypothesis.strategies.register_type_strategy`.

Why?
Because ``ClassVar`` can only be used during ``class`` definition.
We don't generate class attributes.

It also does not make sense as a runtime type on its own.

.. _v6.34.2:

-------------------
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, 34, 2)
__version_info__ = (6, 35, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit d1bfc4a

Please sign in to comment.