Marcel Telka
2024-03-15 3569abdcea8043395eddac7d387e00044047351a
python/hypothesis: update to 6.99.6

6 files modified
30 ■■■■ changed files
components/python/hypothesis/Makefile 4 ●●●● patch | view | raw | blame | history
components/python/hypothesis/patches/01-enable-tests.patch 4 ●●●● patch | view | raw | blame | history
components/python/hypothesis/patches/02-pytest-plugins.patch 4 ●●●● patch | view | raw | blame | history
components/python/hypothesis/patches/05-pytest-reporter.patch 8 ●●●● patch | view | raw | blame | history
components/python/hypothesis/patches/07-pytest-checkdocs.patch 8 ●●●● patch | view | raw | blame | history
components/python/hypothesis/test/results-all.master 2 ●●● patch | view | raw | blame | history
components/python/hypothesis/Makefile
@@ -19,13 +19,13 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        hypothesis
HUMAN_VERSION =            6.99.2
HUMAN_VERSION =            6.99.6
COMPONENT_SUMMARY =        hypothesis - A library for property-based testing
COMPONENT_PROJECT_URL =        https://hypothesis.works
COMPONENT_ARCHIVE_URL =        \
    https://github.com/HypothesisWorks/hypothesis/archive/refs/tags/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_HASH =    \
    sha256:692dea65e848143159c23a2fbd93ac5a4b8749ca5a2639aefee0d33dca979c93
    sha256:0a9ccc9aca08fc47d5b10cd7222df6c0250a662a2b7223e80b422e5fa2880d00
COMPONENT_LICENSE =        MPL-2.0
COMPONENT_LICENSE_FILE =    LICENSE.txt
components/python/hypothesis/patches/01-enable-tests.patch
@@ -1,5 +1,5 @@
--- hypothesis-hypothesis-python-6.99.2/hypothesis-python/tox.ini.orig
+++ hypothesis-hypothesis-python-6.99.2/hypothesis-python/tox.ini
--- hypothesis-hypothesis-python-6.99.6/hypothesis-python/tox.ini.orig
+++ hypothesis-hypothesis-python-6.99.6/hypothesis-python/tox.ini
@@ -4,7 +4,7 @@
 
 [testenv]
components/python/hypothesis/patches/02-pytest-plugins.patch
@@ -1,5 +1,5 @@
--- hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_scrutineer.py
--- hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_scrutineer.py
@@ -52,7 +52,11 @@
     # multi-line report strings which we expect to see in explain-mode output.
     # The list length is the number of explainable bugs, usually one.
components/python/hypothesis/patches/05-pytest-reporter.patch
@@ -1,7 +1,7 @@
https://github.com/christiansandberg/pytest-reporter/issues/8
--- hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_baseexception.py.orig
+++ hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_baseexception.py
--- hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_baseexception.py.orig
+++ hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_baseexception.py
@@ -125,6 +125,6 @@
         exception=exc_name, strategy="things()" if use_composite else "st.none()"
     )
@@ -10,8 +10,8 @@
+    pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:reporter").stdout)
     assert "x=101" in pytest_stdout
     assert exc_name in pytest_stdout
--- hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_scrutineer.py
--- hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_scrutineer.py
@@ -54,7 +54,7 @@
     test_file = str(testdir.makepyfile(file_contents))
     pytest_stdout = str(
components/python/hypothesis/patches/07-pytest-checkdocs.patch
@@ -1,7 +1,7 @@
Workaround for https://github.com/PyO3/setuptools-rust/issues/358
--- hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_baseexception.py.orig
+++ hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_baseexception.py
--- hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_baseexception.py.orig
+++ hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_baseexception.py
@@ -125,6 +125,6 @@
         exception=exc_name, strategy="things()" if use_composite else "st.none()"
     )
@@ -10,8 +10,8 @@
+    pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:checkdocs", "-p", "no:reporter").stdout)
     assert "x=101" in pytest_stdout
     assert exc_name in pytest_stdout
--- hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.2/hypothesis-python/tests/nocover/test_scrutineer.py
--- hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.6/hypothesis-python/tests/nocover/test_scrutineer.py
@@ -54,7 +54,7 @@
     test_file = str(testdir.makepyfile(file_contents))
     pytest_stdout = str(
components/python/hypothesis/test/results-all.master
@@ -707,7 +707,7 @@
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================== Hypothesis ==================================
`git apply .hypothesis/patches/2024-03-11--9ed5f9e2.patch` to add failing examples to your code.
`git apply .hypothesis/patches/2024-03-15--2e46364f.patch` to add failing examples to your code.
============================= slowest 20 durations =============================
======== 687 passed, 4 skipped, 1 warning ========
  py$(PYV): OK