Hello community,

here is the log from the commit of package python-hypothesis for 
openSUSE:Factory checked in at 2019-05-07 23:13:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old)
 and      /work/SRC/openSUSE:Factory/.python-hypothesis.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hypothesis"

Tue May  7 23:13:01 2019 rev:35 rq:701259 version:4.22.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes      
2019-04-19 18:37:04.799085408 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-hypothesis.new.5148/python-hypothesis.changes
    2019-05-07 23:13:03.828174220 +0200
@@ -1,0 +2,25 @@
+Tue May  7 08:58:44 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Remove pandas dependency to make ring1 more happy
+- Update to 4.22.0:
+  * Various small tweaks only
+
+-------------------------------------------------------------------
+Mon May  6 09:40:28 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- More love for the tests to make sure we execute and run them
+  + skip/remove the obvious failures that are irelevant
+
+-------------------------------------------------------------------
+Tue Apr 30 13:01:05 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.18.2:
+  * This patch makes Hypothesis compatible with the Python 3.8 alpha
+  * This release adds the functions() strategy
+  * This release refactors stateful rule selection
+  * This patch allows Hypothesis to try a few more examples after finding the 
first bug
+  * This release adds the strategy broadcastable_shapes()
+- Make sure the tests are executed (and fail at the moment, needs
+  bit more love)
+
+-------------------------------------------------------------------

Old:
----
  hypothesis-python-4.16.0.tar.gz

New:
----
  hypothesis-python-4.22.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hypothesis.spec ++++++
--- /var/tmp/diff_new_pack.37rFmd/_old  2019-05-07 23:13:04.408175381 +0200
+++ /var/tmp/diff_new_pack.37rFmd/_new  2019-05-07 23:13:04.408175381 +0200
@@ -16,21 +16,19 @@
 #
 
 
-# Note: tests require some very specific tooling, context-specific environment
-# variables (such as checking for travis), and very specific versions of all
-# dependencies.  It does not appear feasible to get it to work in a consistent
-# manner.
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
-%define test 1
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_with test
 %endif
 %bcond_without python2
-Version:        4.16.0
+Name:           python-hypothesis%{psuffix}
+Version:        4.22.0
 Release:        0
 Summary:        A library for property based testing
 License:        MPL-2.0
@@ -42,27 +40,29 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-attrs >= 16.0.0
 Recommends:     python-Django >= 1.11
-Recommends:     python-dateutil
-Recommends:     python-dpcontracts
 Recommends:     python-lark-parser >= 0.6.5
 Recommends:     python-numpy >= 1.9.0
 Recommends:     python-pandas
 Recommends:     python-pytest >= 3.0.0
+Recommends:     python-python-dateutil
 Recommends:     python-pytz >= 2014.1
 BuildArch:      noarch
-%if %{with test}
-Name:           python-hypothesis-%{flavor}
-%else
-Name:           python-hypothesis
+%ifpython3
+Recommends:     python-dpcontracts
 %endif
 %if %{with test}
 # SECTION test requirements
+BuildRequires:  %{python_module Django >= 1.11}
 BuildRequires:  %{python_module attrs >= 16.0.0}
 BuildRequires:  %{python_module flaky}
+BuildRequires:  %{python_module hypothesis >= %{version}}
+BuildRequires:  %{python_module lark-parser >= 0.6.5}
 BuildRequires:  %{python_module lark-parser}
 BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module numpy >= 1.9.0}
 BuildRequires:  %{python_module pytest >= 3.0.0}
-BuildRequires:  python3-Django
+BuildRequires:  %{python_module python-dateutil}
+BuildRequires:  %{python_module pytz >= 2014.1}
 BuildRequires:  python3-dpcontracts
 %endif
 # /SECTION
@@ -87,6 +87,14 @@
 
 %prep
 %setup -q -n hypothesis-hypothesis-python-%{version}/hypothesis-python
+# remove version specific tests for ease
+rm -r tests/py2
+rm -r tests/py3
+rm -r tests/dpcontracts # py3 only
+# the django fails to initialize
+rm -r tests/django
+# do not pull in pandas as a dep in ring1; it slows down things too much
+rm -r tests/pandas
 
 %build
 %python_build
@@ -102,16 +110,14 @@
 %endif
 
 %check
-%if %{with test} && ! %{with python2}
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} tests
-}
-rm -rf %{buildroot}%{_datarootdir}/python*
+%if %{with test}
+# test_prints_statistics_given_option_under_xdist - wrong xdist opts
+%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v 
tests -k 'not test_prints_statistics_given_option_under_xdist'
 %endif
 
+%if !%{with test}
 %files %{python_files}
 %license ../LICENSE.txt
-%if !%{with test}
 %doc ../CITATION README.rst docs/changes.rst
 %{python_sitelib}/hypothesis*
 %endif

++++++ hypothesis-python-4.16.0.tar.gz -> hypothesis-python-4.22.0.tar.gz ++++++
++++ 2528 lines of diff (skipped)


Reply via email to