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

update to latest version

OBS-URL: https://build.opensuse.org/request/show/802269
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=127
This commit is contained in:
Tomáš Chvátal 2020-05-09 17:32:16 +00:00 committed by Git OBS Bridge
parent 508f1f5a93
commit 7a7fdd8a5e
4 changed files with 26 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09ddc5077715d69656f46aa093fab469daa996272592c2c2c68434dd46620656
size 9007617

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e290df05a61cbc20f91fda419c8243f1b74ebc4fcac135b08c2f35a7fbc40d5
size 9007902

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sat May 9 16:08:23 UTC 2020 - Arun Persaud <arun@gmx.de>
- update to version 5.11.0:
* This release improves the interaction between assume() and the
@example() decorator, so that the following test no longer fails
with UnsatisfiedAssumption (issue #2125):
@given(value=floats(0, 1))
@example(value=0.56789) # used to make the test fail!
@pytest.mark.parametrize("threshold", [0.5, 1])
def test_foo(threshold, value):
assume(value < threshold)
...
- changes from version 5.10.5 :
* If you have django installed but dont use it, this patch will
make import hypothesis a few hundred milliseconds faster
(e.g. 0.704s -> 0.271s).
Thanks to importtime-waterfall for highlighting this problem and
Jake Vanderplas for the solution - its impossible to misuse code
from a module you havent imported!
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 24 15:18:51 UTC 2020 - Arun Persaud <arun@gmx.de> Fri Apr 24 15:18:51 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -28,7 +28,7 @@
%endif %endif
%define skip_python2 1 %define skip_python2 1
Name: python-hypothesis%{psuffix} Name: python-hypothesis%{psuffix}
Version: 5.10.4 Version: 5.11.0
Release: 0 Release: 0
Summary: A library for property based testing Summary: A library for property based testing
License: MPL-2.0 License: MPL-2.0