From 804bb330ee9aeaa07c54415eb991cf9a6f3e62be Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Sat, 13 Jul 2024 10:20:45 +0200 Subject: [PATCH] python/hypothesis: update to 6.107.0 --- components/python/hypothesis/.gitignore | 2 +- components/python/hypothesis/Makefile | 4 ++-- components/python/hypothesis/patches/01-enable-tests.patch | 4 ++-- components/python/hypothesis/patches/02-pytest-plugins.patch | 4 ++-- components/python/hypothesis/patches/05-pytest-reporter.patch | 8 ++++---- components/python/hypothesis/patches/07-pytest-checkdocs.patch | 8 ++++---- .../python/hypothesis/patches/08-pytest-salt-factories.patch | 8 ++++---- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/python/hypothesis/.gitignore b/components/python/hypothesis/.gitignore index 44879e71c5..d310d19454 100644 --- a/components/python/hypothesis/.gitignore +++ b/components/python/hypothesis/.gitignore @@ -1 +1 @@ -/hypothesis-hypothesis-python-6.105.1/ +/hypothesis-hypothesis-python-6.107.0/ diff --git a/components/python/hypothesis/Makefile b/components/python/hypothesis/Makefile index 99c7bd5067..3324e88642 100644 --- a/components/python/hypothesis/Makefile +++ b/components/python/hypothesis/Makefile @@ -19,13 +19,13 @@ BUILD_STYLE = setup.py include ../../../make-rules/shared-macros.mk COMPONENT_NAME = hypothesis -HUMAN_VERSION = 6.105.1 +HUMAN_VERSION = 6.107.0 COMPONENT_SUMMARY = 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:82d25f2c7183feeefcc5c6ada703b7864bafb1c24cfdc071d48dd1af0fd2a963 + sha256:d55b1ad0fee2f6c363efebf1ae09a92bc7bd07bf464ed00e002b21e43c978f7e COMPONENT_LICENSE = MPL-2.0 COMPONENT_LICENSE_FILE = LICENSE.txt diff --git a/components/python/hypothesis/patches/01-enable-tests.patch b/components/python/hypothesis/patches/01-enable-tests.patch index eec5d6bf64..ce55664f92 100644 --- a/components/python/hypothesis/patches/01-enable-tests.patch +++ b/components/python/hypothesis/patches/01-enable-tests.patch @@ -1,5 +1,5 @@ ---- hypothesis-hypothesis-python-6.105.1/hypothesis-python/tox.ini.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tox.ini +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tox.ini.orig ++++ hypothesis-hypothesis-python-6.107.0/hypothesis-python/tox.ini @@ -4,7 +4,7 @@ [testenv] diff --git a/components/python/hypothesis/patches/02-pytest-plugins.patch b/components/python/hypothesis/patches/02-pytest-plugins.patch index f505ebdb7d..ff2b1121f4 100644 --- a/components/python/hypothesis/patches/02-pytest-plugins.patch +++ b/components/python/hypothesis/patches/02-pytest-plugins.patch @@ -1,7 +1,7 @@ https://github.com/pytest-dev/pytest/issues/12186 ---- hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_scrutineer.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_scrutineer.py.orig ++++ hypothesis-hypothesis-python-6.107.0/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. diff --git a/components/python/hypothesis/patches/05-pytest-reporter.patch b/components/python/hypothesis/patches/05-pytest-reporter.patch index 388894c70b..aa5cc66e5e 100644 --- a/components/python/hypothesis/patches/05-pytest-reporter.patch +++ b/components/python/hypothesis/patches/05-pytest-reporter.patch @@ -1,7 +1,7 @@ https://github.com/christiansandberg/pytest-reporter/issues/8 ---- hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_baseexception.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_baseexception.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_baseexception.py.orig ++++ hypothesis-hypothesis-python-6.107.0/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 @@ https://github.com/christiansandberg/pytest-reporter/issues/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.105.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_scrutineer.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_scrutineer.py.orig ++++ hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_scrutineer.py @@ -54,7 +54,7 @@ test_file = str(testdir.makepyfile(file_contents)) pytest_stdout = str( diff --git a/components/python/hypothesis/patches/07-pytest-checkdocs.patch b/components/python/hypothesis/patches/07-pytest-checkdocs.patch index 02375d0f19..39378c7b5e 100644 --- a/components/python/hypothesis/patches/07-pytest-checkdocs.patch +++ b/components/python/hypothesis/patches/07-pytest-checkdocs.patch @@ -1,7 +1,7 @@ https://github.com/pytest-dev/pytest/issues/12186 ---- hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_baseexception.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_baseexception.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_baseexception.py.orig ++++ hypothesis-hypothesis-python-6.107.0/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 @@ https://github.com/pytest-dev/pytest/issues/12186 + 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.105.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_scrutineer.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_scrutineer.py.orig ++++ hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_scrutineer.py @@ -54,7 +54,7 @@ test_file = str(testdir.makepyfile(file_contents)) pytest_stdout = str( diff --git a/components/python/hypothesis/patches/08-pytest-salt-factories.patch b/components/python/hypothesis/patches/08-pytest-salt-factories.patch index e4e0a218b1..981ead88f7 100644 --- a/components/python/hypothesis/patches/08-pytest-salt-factories.patch +++ b/components/python/hypothesis/patches/08-pytest-salt-factories.patch @@ -1,7 +1,7 @@ https://github.com/pytest-dev/pytest/issues/12186 ---- hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_baseexception.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_baseexception.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_baseexception.py.orig ++++ hypothesis-hypothesis-python-6.107.0/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 @@ https://github.com/pytest-dev/pytest/issues/12186 + pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:checkdocs", "-p", "no:reporter", "-p", "no:system-statistics", "-p", "no:salt-factories", "-p", "no:salt-factories-event-listener", "-p", "no:salt-factories-factories", "-p", "no:salt-factories-loader-mock", "-p", "no:salt-factories-log-server", "-p", "no:salt-factories-markers").stdout) assert "x=101" in pytest_stdout assert exc_name in pytest_stdout ---- hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_targeting.py.orig -+++ hypothesis-hypothesis-python-6.105.1/hypothesis-python/tests/nocover/test_targeting.py +--- hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_targeting.py.orig ++++ hypothesis-hypothesis-python-6.107.0/hypothesis-python/tests/nocover/test_targeting.py @@ -29,7 +29,7 @@ @pytest.mark.parametrize("multiple", [False, True]) def test_reports_target_results(testdir, multiple): -- 2.11.4.GIT