14
0

Accepting request 818385 from home:alarrosa:branches:devel:languages:python

- 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
This commit is contained in:
Tomáš Chvátal
2020-07-03 09:39:07 +00:00
committed by Git OBS Bridge
parent a1bae1b53b
commit 871ef1725c
4 changed files with 114 additions and 19 deletions

View File

@@ -1,3 +1,98 @@
-------------------------------------------------------------------
Thu Jul 2 16:44:48 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- 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
were 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 <mcepl@suse.com>