1
0

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

update to latest version

OBS-URL: https://build.opensuse.org/request/show/555562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=37
This commit is contained in:
Ondřej Súkup 2017-12-10 18:57:12 +00:00 committed by Git OBS Bridge
parent f757385d44
commit 752d7357ad
4 changed files with 27 additions and 9 deletions

View File

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

3
hypothesis-3.42.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Dec 9 17:39:47 UTC 2017 - arun@gmx.de
- specfile:
* removed conditional for test as requested in SR 555280
* added coverage as a requirement
- update to version 3.42.0:
* This release deprecates hypothesis[fakefactory], which was
designed as a transition strategy but does not support example
shrinking or coverage-guided discovery.
-------------------------------------------------------------------
Thu Dec 7 16:46:53 UTC 2017 - arun@gmx.de
- update to version 3.41.0:
* sampled_from() can now sample from one-dimensional numpy
ndarrays. Sampling from multi-dimensional ndarrays still results
in a deprecation warning. Thanks to Charlie Tanksley for this
patch.
-------------------------------------------------------------------
Wed Dec 6 02:52:35 UTC 2017 - arun@gmx.de

View File

@ -22,9 +22,8 @@
%else
%define oldpython python
%endif
%bcond_with test
Name: python-hypothesis
Version: 3.40.1
Version: 3.42.0
Release: 0
Summary: A library for property based testing
License: MPL-2.0
@ -43,13 +42,13 @@ Recommends: python-numpy >= 1.9.0
Recommends: python-pytest >= 2.7.0
Recommends: python-pytz
BuildArch: noarch
%if %{with test}
# test requirements
BuildRequires: %{python_module Django >= 1.7}
BuildRequires: %{python_module Faker >= 0.7.0}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module numpy >= 1.9.0}
BuildRequires: %{python_module pytest >= 2.7.0}
BuildRequires: %{python_module pytz}
%endif
%ifpython2
Requires: %{oldpython}-enum34
%endif
@ -76,10 +75,8 @@ work on Jython or on Python 3.0 through 3.2.
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root,-)