From 840516b16322e52db988be5b91a18be29b35732eca8eb26aafbe7bac47bae386 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 11 Oct 2017 07:01:06 +0000 Subject: [PATCH 1/2] Accepting request 533201 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/533201 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=19 --- hypothesis-3.31.3.tar.gz | 3 --- hypothesis-3.32.0.tar.gz | 3 +++ python-hypothesis.changes | 44 +++++++++++++++++++++++++++++++++++++++ python-hypothesis.spec | 2 +- 4 files changed, 48 insertions(+), 4 deletions(-) delete mode 100644 hypothesis-3.31.3.tar.gz create mode 100644 hypothesis-3.32.0.tar.gz diff --git a/hypothesis-3.31.3.tar.gz b/hypothesis-3.31.3.tar.gz deleted file mode 100644 index 1e7a88d..0000000 --- a/hypothesis-3.31.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8111d860a5638294fee7490acde44275ad00ffd10184aa55797ba1cbed09e871 -size 128066 diff --git a/hypothesis-3.32.0.tar.gz b/hypothesis-3.32.0.tar.gz new file mode 100644 index 0000000..c29d9c2 --- /dev/null +++ b/hypothesis-3.32.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23f2046607e0c4cf83366fd264fd8b9ed2a49c36d1121f6407115bd6bf6f1c2f +size 128516 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index b24af09..8f5afe2 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Mon Oct 9 04:06:23 UTC 2017 - arun@gmx.de + +- update to version 3.32.0: + * This changes the default value of use_coverage=True to True when + running on pypy (it was already True on CPython). + + It was previously set to False because we expected it to be too + slow, but recent benchmarking shows that actually performance of + the feature on pypy is fairly acceptable - sometimes it’s slower + than on CPython, sometimes it’s faster, but it’s generally within + a factor of two either way. + +- changes from version 3.31.6: + * This patch improves the quality of strategies inferred from Numpy + dtypes: + + Integer dtypes generated examples with the upper half of their + (non-sign) bits set to zero. The inferred strategies can now + produce any representable integer. + + Fixed-width unicode- and byte-string dtypes now cap the internal + example length, which should improve example and shrink quality. + + Numpy arrays can only store fixed-size strings internally, and + allow shorter strings by right-padding them with null + bytes. Inferred string strategies no longer generate such + values, as they can never be retrieved from an array. This + improves shrinking performance by skipping useless values. + + This has already been useful in Hypothesis - we found an + overflow bug in our Pandas support, and as a result indexes() + and range_indexes() now check that min_size and max_size are at + least zero. + +- changes from version 3.31.5: + * This release fixes a performance problem in tests where + + use_coverage is set to True. + + Tests experience a slow-down proportionate to the amount of code + they cover. This is still the case, but the factor is now low + enough that it should be unnoticeable. Previously it was large + and became much larger in 3.28.4. + +- changes from version 3.31.4: + * from_type() failed with a very confusing error if passed a + NewType() (issue #901). These psudeo-types are now unwrapped + correctly, and strategy inference works as expected. + ------------------------------------------------------------------- Fri Oct 6 19:43:51 UTC 2017 - arun@gmx.de diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 2bcbc96..bb019df 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -24,7 +24,7 @@ %endif %bcond_with test Name: python-hypothesis -Version: 3.31.3 +Version: 3.32.0 Release: 0 Summary: A library for property based testing License: MPL-2.0 From 5a11e311dc8a705aef2a1a9489873dd7415627a7e345ed5eed95965984b53e17 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 17 Oct 2017 10:08:04 +0000 Subject: [PATCH 2/2] 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 --- hypothesis-3.32.0.tar.gz | 3 --- hypothesis-3.33.0.tar.gz | 3 +++ python-hypothesis.changes | 34 ++++++++++++++++++++++++++++++++++ python-hypothesis.spec | 4 +--- 4 files changed, 38 insertions(+), 6 deletions(-) delete mode 100644 hypothesis-3.32.0.tar.gz create mode 100644 hypothesis-3.33.0.tar.gz diff --git a/hypothesis-3.32.0.tar.gz b/hypothesis-3.32.0.tar.gz deleted file mode 100644 index c29d9c2..0000000 --- a/hypothesis-3.32.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23f2046607e0c4cf83366fd264fd8b9ed2a49c36d1121f6407115bd6bf6f1c2f -size 128516 diff --git a/hypothesis-3.33.0.tar.gz b/hypothesis-3.33.0.tar.gz new file mode 100644 index 0000000..141659c --- /dev/null +++ b/hypothesis-3.33.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd1624a8f0d39456423f1c3041b996dccb292efc81e30366407304960253df12 +size 128548 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 8f5afe2..4a09d2a 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -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 diff --git a/python-hypothesis.spec b/python-hypothesis.spec index bb019df..d341c73 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -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