diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 3e555ba..40368f3 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 25 20:20:07 UTC 2024 - Matej Cepl + +- Skip tests matching `test_adds_note_showing_which_strategy` + (gh#HypothesisWorks/hypothesis#4185). +- Add missing BR: rich. + ------------------------------------------------------------------- Sat Nov 16 16:45:50 UTC 2024 - Matej Cepl diff --git a/python-hypothesis.spec b/python-hypothesis.spec index d6bd66c..094e33a 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -92,6 +92,7 @@ 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 rich >= 9.0.0} BuildRequires: %{python_module typing_extensions} %if %{with complete_tests} BuildRequires: %{python_module Django >= 3.2} @@ -206,6 +207,9 @@ hypothesis.settings.register_profile( " >> tests/conftest.py %if %{without complete_tests} export PYTEST_ADDOPTS="--ignore=tests/pandas/ --ignore=tests/redis/test_redis_exampledatabase.py" +# gh#HypothesisWorks/hypothesis#4185 +# pytest < 8.0 doesn't support __notes__ in pytest.raises() +donttest+=" or test_adds_note_showing_which_strategy" %endif %pytest -c pytest.ini -k "not ($donttest)" tests; rm -rf .pytest_cache %endif