Accepting request 738905 from home:mcalabkova:branches: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/738905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=116
This commit is contained in:
Tomáš Chvátal 2019-10-16 15:28:26 +00:00 committed by Git OBS Bridge
parent 715694d8f6
commit 3fef0d7bad
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> Sun Aug 25 17:57:25 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@ -28,22 +28,21 @@
%endif %endif
%bcond_without python2 %bcond_without python2
Name: python-hypothesis%{psuffix} Name: python-hypothesis%{psuffix}
Version: 4.34.0 Version: 4.40.2
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
Group: Development/Languages/Python
URL: https://github.com/HypothesisWorks/hypothesis-python URL: https://github.com/HypothesisWorks/hypothesis-python
Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-%{version}.tar.gz Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 36} BuildRequires: %{python_module setuptools >= 36}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-attrs >= 16.0.0 Requires: python-attrs >= 19.2.0
Recommends: python-Django >= 1.11 Recommends: python-Django >= 1.11
Recommends: python-lark-parser >= 0.6.5 Recommends: python-lark-parser >= 0.6.5
Recommends: python-numpy >= 1.9.0 Recommends: python-numpy >= 1.9.0
Recommends: python-pandas Recommends: python-pandas
Recommends: python-pytest >= 3.0.0 Recommends: python-pytest >= 4.3.0
Recommends: python-python-dateutil Recommends: python-python-dateutil
Recommends: python-pytz >= 2014.1 Recommends: python-pytz >= 2014.1
BuildArch: noarch BuildArch: noarch
@ -53,14 +52,15 @@ Recommends: python-dpcontracts
%if %{with test} %if %{with test}
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Django >= 1.11} 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 flaky}
BuildRequires: %{python_module hypothesis >= %{version}} BuildRequires: %{python_module hypothesis >= %{version}}
BuildRequires: %{python_module lark-parser >= 0.6.5} BuildRequires: %{python_module lark-parser >= 0.6.5}
BuildRequires: %{python_module lark-parser} BuildRequires: %{python_module lark-parser}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module numpy >= 1.9.0} 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 python-dateutil}
BuildRequires: %{python_module pytz >= 2014.1} BuildRequires: %{python_module pytz >= 2014.1}
BuildRequires: python3-dpcontracts BuildRequires: python3-dpcontracts
@ -112,7 +112,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/hy
%check %check
%if %{with test} %if %{with test}
# test_prints_statistics_given_option_under_xdist - wrong xdist opts # 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 %endif
%if !%{with test} %if !%{with test}