Commit Graph

2 Commits

Author SHA1 Message Date
Tim Orling
47b361bf91 python3-hypothesis: enable ptest
The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).

The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.

Instead, use two test suites from examples/

References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples

(From OE-Core rev: 1c7f6f444fdcb859a37d3b51a8d47260834d01db)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
34f595c6b4 python3-hypothesis: upgrade 6.14.8 -> 6.15.0
6.15.0 - 2021-08-22

This release emits a more useful error message when @given() is applied to
a coroutine function, i.e. one defined using async def (issue #3054).

This was previously only handled by the generic return_value health check,
which doesn’t direct you to use either a custom executor or a library such
as pytest-trio or pytest-asyncio to handle it for you.

6.14.9 - 2021-08-20

This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed
to resolve types which inherit from multiple parametrised generic types,
affecting the returns package (issue #3060).

References:
https://github.com/HypothesisWorks/hypothesis/issues/3054
https://github.com/HypothesisWorks/hypothesis/issues/3060

(From OE-Core rev: ca0039a6e5524ab1e74df285ce16460dc980da65)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00