diff --git a/3.44.16.tar.gz b/3.44.16.tar.gz new file mode 100644 index 0000000..c0bf771 --- /dev/null +++ b/3.44.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f576c7b8101c66b7a5ef781cf475eb76b4a6b2fab693a619c7645a12726cefb +size 415788 diff --git a/3.44.9.tar.gz b/3.44.9.tar.gz deleted file mode 100644 index 1870375..0000000 --- a/3.44.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8dab896b7cfa6e37f0095527b3f9e9821359dc75a411cf3c4b1ef4209e7a7245 -size 404739 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index b2ba14c..6b9e6fd 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Wed Jan 17 15:46:40 UTC 2018 - tchvatal@suse.com + +- Condition py2 only dependencies so we do not pull them on py3 + only scenario + +------------------------------------------------------------------- +Wed Jan 17 03:55:40 UTC 2018 - arun@gmx.de + +- update to version 3.44.16: + * This release improves test case reduction for recursive data + structures. Hypothesis now guarantees that whenever a strategy + calls itself recursively (usually this will happen because you are + using deferred()), any recursive call may replace the top level + value. e.g. given a tree structure, Hypothesis will always try + replacing it with a subtree. + * Additionally this introduces a new heuristic that may in some + circumstances significantly speed up test case reduction - + Hypothesis should be better at immediately replacing elements + drawn inside another strategy with their minimal possible value. + +- changes from version 3.44.15: + * from_type() can now resolve recursive types such as binary trees + (issue #1004). Detection of non-type arguments has also improved, + leading to better error messages in many cases involving forward + references. + +- changes from version 3.44.14 : + * This release fixes a bug in the shrinker that prevented the + optimisations in 3.44.6 from working in some cases. It would not + have worked correctly when filtered examples were nested + (e.g. with a set of integers in some range). + * This would not have resulted in any correctness problems, but + shrinking may have been slower than it otherwise could be. + +- changes from version 3.44.13: + * This release changes the average bit length of values drawn from + integers() to be much smaller. Additionally it changes the + shrinking order so that now size is considered before sign - + e.g. -1 will be preferred to +10. + * The new internal format for integers required some changes to the + minimizer to make work well, so you may also see some improvements + to example quality in unrelated areas. + +- changes from version 3.44.12: + * This changes Hypothesis’s internal implementation of weighted + sampling. This will affect example distribution and quality, but + you shouldn’t see any other effects. + +- changes from version 3.44.11 : + * This is a change to some internals around how Hypothesis handles + avoiding generating duplicate examples and seeking out novel + regions of the search space. + * You are unlikely to see much difference as a result of it, but it + fixes a bug where an internal assertion could theoretically be + triggered and has some minor effects on the distribution of + examples so could potentially find bugs that have previously been + missed. + +- changes from version 3.44.10: + * This patch avoids creating debug statements when debugging is + disabled. Profiling suggests this is a 5-10% performance + improvement (issue #1040). + ------------------------------------------------------------------- Sat Jan 6 17:11:29 UTC 2018 - arun@gmx.de diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 87624e8..0cca58d 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -22,8 +22,9 @@ %else %define oldpython python %endif +%bcond_without python2 Name: python-hypothesis -Version: 3.44.9 +Version: 3.44.16 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -43,8 +44,6 @@ BuildRequires: %{python_module pytest >= 2.8.0} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-enum34 -BuildRequires: python-ipaddress BuildRequires: python-rpm-macros Requires: python-attrs Requires: python-coverage @@ -55,6 +54,10 @@ Recommends: python-pandas Recommends: python-pytest >= 2.8.0 Recommends: python-pytz BuildArch: noarch +%if %{with python2} +BuildRequires: python-enum34 +BuildRequires: python-ipaddress +%endif %ifpython2 Requires: %{oldpython}-enum34 %endif