Accepting request 743987 from devel:languages:python

- update to version 4.40.2
  * Type hints improved
  * Performance improved
  * Array indexing improved
  * **experimental** support for targeted property-based testing

OBS-URL: https://build.opensuse.org/request/show/743987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2019-11-04 16:10:36 +00:00 committed by Git OBS Bridge
commit 507a90c5c3
4 changed files with 19 additions and 10 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Oct 16 13:13:59 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 4.40.2
* Type hints improved
* Performance improved
* Array indexing improved
* **experimental** support for targeted property-based testing
-------------------------------------------------------------------
Sun Aug 25 17:57:25 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@ -28,22 +28,21 @@
%endif
%bcond_without python2
Name: python-hypothesis%{psuffix}
Version: 4.34.0
Version: 4.40.2
Release: 0
Summary: A library for property based testing
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/HypothesisWorks/hypothesis-python
Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 36}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs >= 16.0.0
Requires: python-attrs >= 19.2.0
Recommends: python-Django >= 1.11
Recommends: python-lark-parser >= 0.6.5
Recommends: python-numpy >= 1.9.0
Recommends: python-pandas
Recommends: python-pytest >= 3.0.0
Recommends: python-pytest >= 4.3.0
Recommends: python-python-dateutil
Recommends: python-pytz >= 2014.1
BuildArch: noarch
@ -53,14 +52,15 @@ Recommends: python-dpcontracts
%if %{with test}
# SECTION test requirements
BuildRequires: %{python_module Django >= 1.11}
BuildRequires: %{python_module attrs >= 16.0.0}
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module hypothesis >= %{version}}
BuildRequires: %{python_module lark-parser >= 0.6.5}
BuildRequires: %{python_module lark-parser}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module numpy >= 1.9.0}
BuildRequires: %{python_module pytest >= 3.0.0}
BuildRequires: %{python_module pexpect >= 4.7.0}
BuildRequires: %{python_module pytest >= 4.3.0}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz >= 2014.1}
BuildRequires: python3-dpcontracts
@ -112,7 +112,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/hy
%check
%if %{with test}
# test_prints_statistics_given_option_under_xdist - wrong xdist opts
%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v tests -k 'not test_prints_statistics_given_option_under_xdist'
%pytest tests -k "not test_prints_statistics_given_option_under_xdist"
%endif
%if !%{with test}