Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Thomas Klausner
Date: 2016-08-24 12:20:35
Message id: 20160824102035.8D7CEFBC3@cvs.NetBSD.org
Log Message:
Updated py-hypothesis to 3.4.2.
3.4.2 - 2016-07-13
This is a bug fix release, fixing a number of problems with the settings system:
Test functions defined using @given can now be called from other threads \
(Issue #337)
Attempting to delete a settings property would previously have silently done \
the wrong thing. Now it raises an AttributeError.
Creating a settings object with a custom database_file parameter was \
silently getting ignored and the default was being used instead. Now itâs \
not.
3.4.1 - 2016-07-07
This is a bug fix release for a single bug:
On Windows when running two Hypothesis processes in parallel (e.g. using \
pytest-xdist) they could race with each other and one would raise an exception \
due to the non-atomic nature of file renaming on Windows and the fact that you \
canât rename over an existing file. This is now fixed.
3.4.0 - 2016-05-27
This release is entirely provided by Lucas Wiman:
models() strategies from hypothesis.extra.django will now respect much more of \
Djangoâs validations out of the box. Wherever possible full_clean() should \
succeed.
In particular:
The max_length, blank and choices kwargs are now respected.
Add support for DecimalField.
If a field includes validators, the list of validators are used to filter \
the field strategy.
3.3.0 - 2016-05-27
This release went wrong and is functionally equivalent to 3.2.0. Ignore it.
3.2.0 - 2016-05-19
This is a small single-feature release:
All tests using @given now fix the global random seed. This removes the \
health check for that. If a non-zero seed is required for the final falsifying \
example, it will be reported. Otherwise Hypothesis will assume randomization was \
not a significant factor for the test and be silent on the subject. If you use \
the random_module() strategy this will continue to work and will always display \
the seed.
3.1.3 - 2016-05-01
Single bug fix release
Another charmap problem. In 3.1.2 text/characters would break on systems \
which had /tmp/ mounted on a different partition than the Hypothesis storage \
directory (usually in home). This fixes that.
3.1.2 - 2016-04-30
Single bug fix release:
Anything which used a text() or characters() strategy was broken on Windows \
and I hadnât updated appveyor to use the new repository location so I \
didnât notice. This is now fixed and windows support should work correctly.
3.1.1 - 2016-04-29
Minor bug fix release.
Fix concurrency issue when running tests that use text() from multiple \
processes at once (Bug #302, thanks to Alex Chan).
Improve performance of code using lists with max_size (thanks to Cristi \
Cobzarenco).
Fix install on Python 2 with ancient versions of pip so that it installs the \
enum34 backport (thanks to Donald Stufft for telling me how to do this).
Remove duplicated __all__ exports from hypothesis.strategies (thanks to \
Piët Delport).
Update headers to point to new repository location.
Allow use of strategies that canât be used in find() (e.g. choices) in \
stateful testing.
Files: