From 871ef1725c98b9aadacef24dbe42efdddd8cef392fab8ca288347f1c16dccf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 3 Jul 2020 09:39:07 +0000 Subject: [PATCH] Accepting request 818385 from home:alarrosa:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 5.19.0: * This release improves the randoms() strategy by adding support for Random instances where Hypothesis generates the random values rather than having them be “truly” random. - Update to version 5.18.3: * This patch adds some internal functions to support a new feature we’re working on. There is no user-visible change… yet. - Update to version 5.18.2: * This patch improves our docs for the derandomize setting. - Update to version 5.18.1: * This release consists of some internal refactoring to the shrinker in preparation for future work. It has no user visible impact. - Update to version 5.18.0: * This release teaches Hypothesis to shorten tracebacks for explicit examples, as we already do for generated examples, so that you can focus on your code rather than ours. * If you have multiple failing explicit examples, they will now all be reported. To report only the first failure, you can use the report_multiple_bugs=False setting as for generated examples. - Update to version 5.17.0: * This patch adds strategy inference for the Literal, NewType, Type, DefaultDict, and TypedDict types from the typing_extensions backport on PyPI. - Update to version 5.16.3: * This patch precomputes some of the setup logic for our experimental external fuzzer integration and sets deadline=None in fuzzing mode, saving around 150us on each iteration. * This is around two-thirds the runtime to fuzz an empty test with @given(st.none()), and nice to have even as a much smaller fraction of the runtime for non-trivial tests. OBS-URL: https://build.opensuse.org/request/show/818385 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=131 --- hypothesis-python-5.11.0.tar.gz | 3 -- hypothesis-python-5.19.0.tar.gz | 3 ++ python-hypothesis.changes | 95 +++++++++++++++++++++++++++++++++ python-hypothesis.spec | 32 +++++------ 4 files changed, 114 insertions(+), 19 deletions(-) delete mode 100644 hypothesis-python-5.11.0.tar.gz create mode 100644 hypothesis-python-5.19.0.tar.gz diff --git a/hypothesis-python-5.11.0.tar.gz b/hypothesis-python-5.11.0.tar.gz deleted file mode 100644 index 619a42b..0000000 --- a/hypothesis-python-5.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e290df05a61cbc20f91fda419c8243f1b74ebc4fcac135b08c2f35a7fbc40d5 -size 9007902 diff --git a/hypothesis-python-5.19.0.tar.gz b/hypothesis-python-5.19.0.tar.gz new file mode 100644 index 0000000..0907352 --- /dev/null +++ b/hypothesis-python-5.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a6108726c1146873841bb761f1d85bff82565a4ec3b04d7fff1dea55f3118ec +size 9022213 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 30e0de1..7f06f02 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,98 @@ +------------------------------------------------------------------- +Thu Jul 2 16:44:48 UTC 2020 - Antonio Larrosa + +- Update to version 5.19.0: + * This release improves the randoms() strategy by adding support + for Random instances where Hypothesis generates the random + values rather than having them be “truly” random. + +- Update to version 5.18.3: + * This patch adds some internal functions to support a new feature + we’re working on. There is no user-visible change… yet. + +- Update to version 5.18.2: + * This patch improves our docs for the derandomize setting. + +- Update to version 5.18.1: + * This release consists of some internal refactoring to the shrinker + in preparation for future work. It has no user visible impact. + +- Update to version 5.18.0: + * This release teaches Hypothesis to shorten tracebacks for explicit + examples, as we already do for generated examples, so that you can + focus on your code rather than ours. + + * If you have multiple failing explicit examples, they will now all + be reported. To report only the first failure, you can use the + report_multiple_bugs=False setting as for generated examples. + +- Update to version 5.17.0: + * This patch adds strategy inference for the Literal, NewType, Type, + DefaultDict, and TypedDict types from the typing_extensions + backport on PyPI. + +- Update to version 5.16.3: + * This patch precomputes some of the setup logic for our + experimental external fuzzer integration and sets deadline=None + in fuzzing mode, saving around 150us on each iteration. + + * This is around two-thirds the runtime to fuzz an empty test with + @given(st.none()), and nice to have even as a much smaller + fraction of the runtime for non-trivial tests. + +- Update to version 5.16.2: + * This patch fixes an internal error when warning about the use of + function-scoped fixtures for parametrised tests where the + parametrised value contained a % character. + +- Update to version 5.16.1: + * If you pass a list or tuple where a strategy was expected, the + error message now mentions sampled_from() as an example strategy. + +- Update to version 5.16.0: + * functions() can now infer the appropriate returns strategy if you + pass a like function with a return-type annotation. Before, + omitting the returns argument would generate functions that + always returned None. + +- Update to version 5.15.1: + * Fix from_type() with generic types under Python 3.9. + +- Update to version 5.15.0: + * This patch fixes an error that happens when multiple threads + create new strategies. + +- Update to version 5.14.0: + * Passing min_magnitude=None to complex_numbers() is now deprecated. + You can explicitly pass min_magnitude=0, or omit the argument entirely. + +- Update to version 5.13.1: + * This patch fixes an internal error in from_type() for + typing.NamedTuple in Python 3.9. + +- Update to version 5.13.0: + * This release upgrades the test statistics available via + the –hypothesis-show-statistics option to include separate + information on each of the phases (issue #1555). + +- Update to version 5.12.2: + * This patch teaches the from_type() internals to return slightly + more efficient strategies for some generic sets and mappings. + +- Update to version 5.12.1: + * This patch adds a # noqa comment for flake8 3.8.0, which + disagrees with mypy about how to write the type of .... + +- Update to version 5.12.0: + * This release limits the maximum duration of the shrinking phase + to five minutes, so that Hypothesis does not appear to hang when + making very slow progress shrinking a failing example + (issue #2340). + + * If one of your tests triggers this logic, we would really + appreciate a bug report to help us improve the shrinker for + difficult but realistic workloads. + ------------------------------------------------------------------- Thu May 21 14:56:04 UTC 2020 - Matej Cepl diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 8b6a8ff..5ea018f 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -28,7 +28,7 @@ %endif %define skip_python2 1 Name: python-hypothesis%{psuffix} -Version: 5.11.0 +Version: 5.19.0 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -40,31 +40,31 @@ Patch0: failing-test_array_values_are_unique_high_collision.patch BuildRequires: %{python_module setuptools >= 36} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-attrs >= 19.2.0 -Requires: python-sortedcontainers >= 2.1.0 -Recommends: python-Django >= 2.2 -Recommends: python-dpcontracts >= 0.4 -Recommends: python-lark-parser >= 0.6.5 +Requires: python-attrs >= 19.3.0 +Requires: python-sortedcontainers >= 2.2.2 +Recommends: python-Django >= 3.0.7 +Recommends: python-dpcontracts >= 0.6.0 +Recommends: python-lark-parser >= 0.8.9 Recommends: python-numpy >= 1.9.0 Recommends: python-pandas >= 0.19 -Recommends: python-pytest >= 4.3.0 -Recommends: python-python-dateutil >= 1.4 +Recommends: python-pytest >= 5.4.3 +Recommends: python-python-dateutil >= 2.8.1 Recommends: python-pytz >= 2014.1 BuildArch: noarch %if %{with test} # SECTION test requirements -BuildRequires: %{python_module Django >= 2.2} -BuildRequires: %{python_module attrs >= 19.2.0} +BuildRequires: %{python_module Django >= 3.0.7} +BuildRequires: %{python_module attrs >= 19.3.0} +BuildRequires: %{python_module dpcontracts >= 0.6.0} BuildRequires: %{python_module flaky} BuildRequires: %{python_module hypothesis >= %{version}} -BuildRequires: %{python_module lark-parser >= 0.6.5} +BuildRequires: %{python_module lark-parser >= 0.8.9} BuildRequires: %{python_module mock} BuildRequires: %{python_module numpy >= 1.9.0} -BuildRequires: %{python_module pexpect >= 4.7.0} -BuildRequires: %{python_module pytest >= 4.3.0} -BuildRequires: %{python_module python-dateutil >= 1.4} -BuildRequires: %{python_module sortedcontainers >= 2.1.0} -BuildRequires: python3-dpcontracts +BuildRequires: %{python_module pexpect >= 4.8.0} +BuildRequires: %{python_module pytest >= 5.4.3} +BuildRequires: %{python_module python-dateutil >= 2.8.1} +BuildRequires: %{python_module sortedcontainers >= 2.2.2} %endif # /SECTION %python_subpackages