dry-python/returns

Hypothesis plugin need an update

sobolevn opened this issue · 0 comments

Looks like we need to fix our Hypothesis plugin.

Initial PR that failed, 6.79.1: #1649
Next PR also failed, 6.79.2: #1651
Current failing PR, 6.79.3: #1653

Traceback:

 You can reproduce this example by temporarily adding @reproduce_failure('6.79.3', b'AA==') as a decorator on your test case
FAILED tests/test_contrib/test_hypothesis/test_laws/test_custom_type_applicative.py::test__wrapper_applicativen_homomorphism_law - KeyError: typing.Callable
Falsifying example: factory(
    source=data(...),
)

Basically, many tests fail with KeyError: typing.Callable, but this only happens for Python>=3.9, older versions pass correctly:
Снимок экрана 2023-06-27 в 08 51 36

But, looks like the origin of this change is HypothesisWorks/hypothesis@hypothesis-python-6.78.3...hypothesis-python-6.79.0