Accepting request 566981 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/566981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2018-01-19 10:49:09 +00:00 committed by Git OBS Bridge
commit 15f4305cea
4 changed files with 73 additions and 6 deletions

3
3.44.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f576c7b8101c66b7a5ef781cf475eb76b4a6b2fab693a619c7645a12726cefb
size 415788

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8dab896b7cfa6e37f0095527b3f9e9821359dc75a411cf3c4b1ef4209e7a7245
size 404739

View File

@ -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 Hypothesiss internal implementation of weighted
sampling. This will affect example distribution and quality, but
you shouldnt 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

View File

@ -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