1
0

Accepting request 693827 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/693827
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=97
This commit is contained in:
Tomáš Chvátal
2019-04-15 09:42:32 +00:00
committed by Git OBS Bridge
parent 7840f298a5
commit 990a28ed8a
4 changed files with 69 additions and 4 deletions

View File

@@ -1,3 +1,68 @@
-------------------------------------------------------------------
Sat Apr 13 03:07:02 UTC 2019 - Arun Persaud <arun@gmx.de>
- update to version 4.16.0:
* This release allows register_type_strategy() to be used with
typing.NewType instances. This may be useful to e.g. provide only
positive integers for from_type(UserId) with a UserId =
NewType('UserId', int) type.
- changes from version 4.15.0:
* This release supports passing a timedelta as the deadline setting,
so you no longer have to remember that the number is in
milliseconds (issue #1900).
- changes from version 4.14.7:
* This patch makes the type annotations on hypothesis.extra.dateutil
compatible with mypy 0.700.
- changes from version 4.14.6:
* This release fixes a bug introduced in Hypothesis 4.14.3 that
would sometimes cause sampled_from(...).filter(...) to encounter
an internal assertion failure when there are three or fewer
elements, and every element is rejected by the filter.
- changes from version 4.14.5:
* This patch takes the previous efficiency improvements to
sampled_from(...).filter(...) strategies that reject most
elements, and generalises them to also apply to
sampled_from(...).filter(...).filter(...) and longer chains of
filters.
- changes from version 4.14.4:
* This release fixes a bug that prevented random_module() from
correctly restoring the previous state of the random module.
The random state was instead being restored to a temporary
deterministic state, which accidentally caused subsequent tests to
see the same random values across multiple test runs.
- changes from version 4.14.3:
* This patch adds an internal special case to make
sampled_from(...).filter(...) much more efficient when the filter
rejects most elements (issue #1885).
- changes from version 4.14.2:
* This patch improves the error message if the function f in
s.flatmap(f) does not return a strategy.
- changes from version 4.14.1:
* This release modifies how Hypothesis selects operations to run
during shrinking, by causing it to deprioritise previously useless
classes of shrink until others have reached a fixed point.
* This avoids certain pathological cases where the shrinker gets
very close to finishing and then takes a very long time to finish
the last small changes because it tries many useless shrinks for
each useful one towards the end. It also should cause a more
modest improvement (probably no more than about 30%) in shrinking
performance for most tests.
- changes from version 4.14.0:
* This release blocks installation of Hypothesis on Python 3.4,
which reached its end of life date on 2019-03-18.
This should not be of interest to anyone but downstream
maintainers - if you are affected, migrate to a secure version of
Python as soon as possible or at least seek commercial support.
-------------------------------------------------------------------
Mon Mar 25 06:25:48 UTC 2019 - John Vandenberg <jayvdb@gmail.com>