Hello community, here is the log from the commit of package python-hypothesis for openSUSE:Factory checked in at 2018-01-09 14:36:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old) and /work/SRC/openSUSE:Factory/.python-hypothesis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesis" Tue Jan 9 14:36:28 2018 rev:14 rq:562296 version:3.44.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes 2017-12-08 21:47:53.341776459 +0100 +++ /work/SRC/openSUSE:Factory/.python-hypothesis.new/python-hypothesis.changes 2018-01-09 14:36:32.766640363 +0100 @@ -1,0 +2,150 @@ +Sat Jan 6 17:11:29 UTC 2018 - a...@gmx.de + +- update to version 3.44.9: + * This patch blacklists null characters ('\x00') in automatically + created strategies for Django CharField and TextField, due to a + database issue which was recently fixed upstream (Hypothesis issue + #1045). + +------------------------------------------------------------------- +Sat Jan 6 07:24:23 UTC 2018 - a...@gmx.de + +- update to version 3.44.8: + * This release makes the Hypothesis shrinker slightly less greedy in + order to avoid local minima - when it gets stuck, it makes a small + attempt to search around the final example it would previously + have returned to find a new starting point to shrink from. This + should improve example quality in some cases, especially ones + where the test data has dependencies among parts of it that make + it difficult for Hypothesis to proceed. + +------------------------------------------------------------------- +Thu Jan 4 17:06:43 UTC 2018 - a...@gmx.de + +- update to version 3.44.7: + * This release adds support for Django 2 in the hypothesis-django + extra. + * This release drops support for Django 1.10, as it is no longer + supported by the Django team. + +------------------------------------------------------------------- +Wed Jan 3 22:43:51 UTC 2018 - a...@gmx.de + +- update to version 3.44.6: + * This release speeds up test case reduction in many examples by + being better at detecting large shrinks it can use to discard + redundant parts of its input. This will be particularly noticeable + in examples that make use of filtering and for some integer + ranges. + +- changes from version 3.44.5: + * This is a no-op release that updates the year range on all of the + copyright headers in our source to include 2018. + +------------------------------------------------------------------- +Wed Jan 3 10:03:42 UTC 2018 - tchva...@suse.com + +- Disable the tests as it is too flaky to be reliable + +------------------------------------------------------------------- +Sun Dec 31 05:55:59 UTC 2017 - a...@gmx.de + +- update to version 3.44.4: + * This release fixes issue #1044, which slowed tests by up to 6% due + to broken caching. + +------------------------------------------------------------------- +Thu Dec 21 18:22:00 UTC 2017 - a...@gmx.de + +- update to version 3.44.3: + * This release improves the shrinker in cases where examples drawn + earlier can affect how much data is drawn later (e.g. when you + draw a length parameter in a composite and then draw that many + elements). Examples found in cases like this should now be much + closer to minimal. + +- changes from version 3.44.2: + * This is a pure refactoring release which changes how Hypothesis + manages its set of examples internally. It should have no + externally visible effects. + +- changes from version 3.44.1: + * This release fixes issue #997, in which under some circumstances + the body of tests run under Hypothesis would not show up when run + under coverage even though the tests were run and the code they + called outside of the test file would show up normally. + +- changes from version 3.44.0: + * This release adds a new feature: The @reproduce_failure, designed + to make it easy to use Hypothesis’s binary format for examples to + reproduce a problem locally without having to share your example + database between machines. + This also changes when seeds are printed: + + They will no longer be printed for normal falsifying examples, + as there are now adequate ways of reproducing those for all + cases, so it just contributes noise. + + They will once again be printed when reusing examples from the + database, as health check failures should now be more reliable + in this scenario so it will almost always work in this case. + +- changes from version 3.43.1: + * This release fixes a bug with Hypothesis’s database management - + examples that were found in the course of shrinking were saved in + a way that indicated that they had distinct causes, and so they + would all be retried on the start of the next test. The intended + behaviour, which is now what is implemented, is that only a + bounded subset of these examples would be retried. + +------------------------------------------------------------------- +Sun Dec 17 01:26:12 UTC 2017 - a...@gmx.de + +- update to version 3.43.0: + * HypothesisDeprecationWarning now inherits from FutureWarning + instead of DeprecationWarning, as recommended by PEP 565 for + user-facing warnings (issue #618). If you have not changed the + default warnings settings, you will now see each distinct + HypothesisDeprecationWarning instead of only the first. + +------------------------------------------------------------------- +Fri Dec 15 08:55:52 UTC 2017 - ec...@opensuse.org + +- Add patch python-hypothesis-build.patch + to fix Factory build error + +------------------------------------------------------------------- +Thu Dec 14 15:00:24 UTC 2017 - tchva...@suse.com + +- Update to 3.42.2: + * Few tiny fixes +- Switch to github tarball to contain tests +- Make sure to state all buildtime dependencies + +------------------------------------------------------------------- +Tue Dec 12 00:54:26 UTC 2017 - a...@gmx.de + +- update to version 3.42.1: + * This release has some internal cleanup, which makes reading the + code more pleasant and may shrink large examples slightly faster. + +------------------------------------------------------------------- +Sat Dec 9 17:39:47 UTC 2017 - a...@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 - a...@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. + +------------------------------------------------------------------- Old: ---- hypothesis-3.40.1.tar.gz New: ---- 3.44.9.tar.gz python-hypothesis-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypothesis.spec ++++++ --- /var/tmp/diff_new_pack.bmiOES/_old 2018-01-09 14:36:34.890540738 +0100 +++ /var/tmp/diff_new_pack.bmiOES/_new 2018-01-09 14:36:34.890540738 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-hypothesis # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,34 +22,39 @@ %else %define oldpython python %endif -%bcond_with test Name: python-hypothesis -Version: 3.40.1 +Version: 3.44.9 Release: 0 Summary: A library for property based testing License: MPL-2.0 Group: Development/Languages/Python Url: https://github.com/HypothesisWorks/hypothesis-python -Source: https://files.pythonhosted.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz +Source: https://github.com/HypothesisWorks/hypothesis-python/archive/%{version}.tar.gz +Patch0: %{name}-build.patch +BuildRequires: %{python_module Django >= 1.8} +BuildRequires: %{python_module Faker >= 0.7.0} +BuildRequires: %{python_module attrs} +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module flaky} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module numpy >= 1.9.0} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest >= 2.8.0} +BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-enum34 +BuildRequires: python-ipaddress BuildRequires: python-rpm-macros Requires: python-attrs Requires: python-coverage -Recommends: python-Django >= 1.7 +Recommends: python-Django >= 1.8 Recommends: python-Faker >= 0.7.0 Recommends: python-numpy >= 1.9.0 -Recommends: python-pytest >= 2.7.0 +Recommends: python-pandas +Recommends: python-pytest >= 2.8.0 Recommends: python-pytz BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module Django >= 1.7} -BuildRequires: %{python_module Faker >= 0.7.0} -BuildRequires: %{python_module numpy >= 1.9.0} -BuildRequires: %{python_module pytest >= 2.7.0} -BuildRequires: %{python_module pytz} -%endif %ifpython2 Requires: %{oldpython}-enum34 %endif @@ -67,7 +72,10 @@ work on Jython or on Python 3.0 through 3.2. %prep -%setup -q -n hypothesis-%{version} +%setup -q -n hypothesis-python-%{version} +# remove py2/3 and django tests as they fail +rm -rf tests/py3 tests/py2 tests/django +%patch0 -p1 %build %python_build @@ -76,13 +84,11 @@ %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%if %{with test} -%check -%python_exec setup.py test -%endif +# Flaky a lot in OBS unable to reliably test +#%%check +#%%python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %{python_sitelib}/* ++++++ hypothesis-3.40.1.tar.gz -> 3.44.9.tar.gz ++++++ ++++ 40133 lines of diff (skipped) ++++++ python-hypothesis-build.patch ++++++ diff -Pdpru hypothesis-python-3.42.2.orig/setup.py hypothesis-python-3.42.2/setup.py --- hypothesis-python-3.42.2.orig/setup.py 2017-12-12 04:59:10.000000000 +0100 +++ hypothesis-python-3.42.2/setup.py 2017-12-15 09:54:26.188604599 +0100 @@ -95,5 +95,5 @@ setup( entry_points={ 'pytest11': ['hypothesispytest = hypothesis.extra.pytestplugin'], }, - long_description=open(README).read(), + long_description=open("README.rst").read(), )