Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hypothesis for openSUSE:Factory checked in at 2023-02-19 18:18:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old) and /work/SRC/openSUSE:Factory/.python-hypothesis.new.22824 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesis" Sun Feb 19 18:18:30 2023 rev:63 rq:1066416 version:6.61.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes 2023-01-10 14:59:00.864950720 +0100 +++ /work/SRC/openSUSE:Factory/.python-hypothesis.new.22824/python-hypothesis.changes 2023-02-19 18:18:31.325313333 +0100 @@ -1,0 +2,7 @@ +Fri Feb 17 16:07:03 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Limit dependencies for tests on older distributions + (particularly do not depend on Django, Pandas, and fakeredis + and Redis). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypothesis.spec ++++++ --- /var/tmp/diff_new_pack.v14s3O/_old 2023-02-19 18:18:32.397320145 +0100 +++ /var/tmp/diff_new_pack.v14s3O/_new 2023-02-19 18:18:32.405320195 +0100 @@ -30,6 +30,11 @@ %define psuffix %{nil} %bcond_with test %endif +%if 0%{?suse_version} <= 1550 +%bcond_with complete_tests +%else +%bcond_without complete_tests +%endif Name: python-hypothesis%{psuffix} Version: 6.61.2 Release: 0 @@ -42,6 +47,7 @@ Source: hypothesis-python-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -72,20 +78,24 @@ %if %{with test} BuildRequires: %{python_module hypothesis = %{version}} # SECTION test requirements +%if %{with complete_tests} BuildRequires: %{python_module Django >= 3.2} +BuildRequires: %{python_module fakeredis} +BuildRequires: %{python_module pandas >= 1.0} +%endif BuildRequires: %{python_module backports.zoneinfo >= 0.2.1 if %python-base < 3.9} BuildRequires: %{python_module black >= 19.10} +BuildRequires: %{python_module click} BuildRequires: %{python_module dpcontracts >= 0.4} -BuildRequires: %{python_module fakeredis} BuildRequires: %{python_module flaky} BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module libcst >= 0.3.16} BuildRequires: %{python_module numpy >= 1.9.0} -BuildRequires: %{python_module pandas >= 1.0} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pytest >= 4.6} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module python-dateutil >= 1.4} +BuildRequires: %{python_module typing_extensions} # /SECTION %endif %python_subpackages @@ -161,6 +171,9 @@ default:`np\.complex` is a deprecated alias for the builtin `complex`:DeprecationWarning default:`np\.object` is a deprecated alias for the builtin `object`:DeprecationWarning ' > pytest.ini +%if %{without complete_tests} +export PYTEST_ADDOPTS="--ignore=tests/pandas/ --ignore=tests/redis/test_redis_exampledatabase.py" +%endif %pytest -c pytest.ini -k "not ($donttest)" tests %endif