python/hypothesis: update to 6.92.2
| | |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME = hypothesis |
| | | HUMAN_VERSION = 6.92.1 |
| | | HUMAN_VERSION = 6.92.2 |
| | | 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:ae08e673ccaee89a7268d4e9b9ecbd324d01f0558e168c6fd7d82b30aa5aa0f3 |
| | | sha256:ed3a5d3f5c37c27a3ebb656f57136e5b7820bf042a6a62917b34f23560ab7f6e |
| | | COMPONENT_LICENSE = MPL-2.0 |
| | | COMPONENT_LICENSE_FILE = LICENSE.txt |
| | | |
| | |
| | | --- hypothesis-hypothesis-python-6.92.1/hypothesis-python/tox.ini.orig |
| | | +++ hypothesis-hypothesis-python-6.92.1/hypothesis-python/tox.ini |
| | | --- hypothesis-hypothesis-python-6.92.2/hypothesis-python/tox.ini.orig |
| | | +++ hypothesis-hypothesis-python-6.92.2/hypothesis-python/tox.ini |
| | | @@ -4,7 +4,7 @@ |
| | | |
| | | [testenv] |
| | |
| | | --- hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_scrutineer.py |
| | | --- hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.2/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. |
| | |
| | | https://github.com/christiansandberg/pytest-reporter/issues/8 |
| | | |
| | | --- hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_baseexception.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_baseexception.py |
| | | --- hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_baseexception.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_baseexception.py |
| | | @@ -125,6 +125,6 @@ |
| | | exception=exc_name, strategy="things()" if use_composite else "st.none()" |
| | | ) |
| | |
| | | + 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.92.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_scrutineer.py |
| | | --- hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_scrutineer.py |
| | | @@ -54,7 +54,7 @@ |
| | | test_file = str(testdir.makepyfile(file_contents)) |
| | | pytest_stdout = str( |
| | |
| | | Workaround for https://github.com/PyO3/setuptools-rust/issues/358 |
| | | |
| | | --- hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_baseexception.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_baseexception.py |
| | | --- hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_baseexception.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_baseexception.py |
| | | @@ -125,6 +125,6 @@ |
| | | exception=exc_name, strategy="things()" if use_composite else "st.none()" |
| | | ) |
| | |
| | | + 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.92.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.1/hypothesis-python/tests/nocover/test_scrutineer.py |
| | | --- hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig |
| | | +++ hypothesis-hypothesis-python-6.92.2/hypothesis-python/tests/nocover/test_scrutineer.py |
| | | @@ -54,7 +54,7 @@ |
| | | test_file = str(testdir.makepyfile(file_contents)) |
| | | pytest_stdout = str( |
| | |
| | | tests/nocover/test_uuids.py::test_can_generate_specified_version[5] PASSED |
| | | tests/nocover/test_uuids.py::test_retains_uniqueness_in_simplify PASSED |
| | | |
| | | =============================== warnings summary =============================== |
| | | hypothesis-python/tests/nocover/test_baseexception.py::test_explanations[True-SystemExit] |
| | | $(PYTHON_DIR)/vendor-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment. |
| | | warner(PytestBenchmarkWarning(text)) |
| | | |
| | | -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html |
| | | ================================== Hypothesis ================================== |
| | | `git apply .hypothesis/patches/2023-12-27--7dffd0ea.patch` to add failing examples to your code. |
| | | ============================= slowest 20 durations ============================= |
| | | ======== 685 passed, 4 skipped ======== |
| | | ======== 685 passed, 4 skipped, 1 warning ======== |
| | | py$(PYV): OK |
| | | congratulations :) |