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.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 b24af09..4a09d2a 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,81 @@ +------------------------------------------------------------------- +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 + +- 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..d341c73 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.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