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

update to latest version

OBS-URL: https://build.opensuse.org/request/show/534323
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=20
This commit is contained in:
Dirk Mueller 2017-10-17 10:08:04 +00:00 committed by Git OBS Bridge
parent 840516b163
commit 5a11e311dc
4 changed files with 38 additions and 6 deletions

View File

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

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

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

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Tue Oct 17 01:47:00 UTC 2017 - arun@gmx.de
- update to version 3.33.0:
* This release supports strategy inference for more field types in
Django models() - you can now omit an argument for Date, Time,
Duration, Slug, IP Address, and UUID fields. (issue #642)
* Strategy generation for fields with grouped choices now selects
choices from each group, instead of selecting from the group
names.
-------------------------------------------------------------------
Sun Oct 15 22:19:10 UTC 2017 - arun@gmx.de
- specfile:
* removed sed for src/hypothesis/tools/mergedbs.py, not in tar-ball anymore
- update to version 3.32.2:
* This patch removes the mergedb tool, introduced in Hypothesis
1.7.1 on an experimental basis. It has never actually worked, and
the new Hypothesis example database is designed to make such a
tool unnecessary.
- changes from version 3.32.1:
* This patch has two improvements for strategies based on
enumerations.
* from_type() now handles enumerations correctly, delegating to
sampled_from(). Previously it noted that Enum.__init__ has no
required arguments and therefore delegated to builds(), which
would subsequently fail.
* When sampling from an enum.Flag, we also generate combinations of
members. Eg for Flag('Permissions', 'READ, WRITE, EXECUTE') we can
now generate, Permissions.READ, Permissions.READ|WRITE, and so on.
-------------------------------------------------------------------
Mon Oct 9 04:06:23 UTC 2017 - arun@gmx.de

View File

@ -24,7 +24,7 @@
%endif
%bcond_with test
Name: python-hypothesis
Version: 3.32.0
Version: 3.33.0
Release: 0
Summary: A library for property based testing
License: MPL-2.0
@ -68,8 +68,6 @@ work on Jython or on Python 3.0 through 3.2.
%prep
%setup -q -n hypothesis-%{version}
# remove shebang
sed -e '1d' -i src/hypothesis/tools/mergedbs.py
%build
%python_build