Package: src:pydantic
Version: 1.2-1
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

[...]
tests/mypy/test_mypy.py:78:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:790: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
tests/mypy/modules/plugin_success.py:26: in <module>
    SelfReferencingModel.update_forward_refs()
pydantic/main.py:619: in update_forward_refs
    update_field_forward_refs(f, globalns=globalns, localns=localns)
pydantic/typing.py:203: in update_field_forward_refs
    field.type_ = evaluate_forwardref(field.type_, globalns, localns or None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

type_ = ForwardRef('SelfReferencingModel')
globalns = {'BaseModel': <class 'pydantic.main.BaseModel'>, 'ClassVar':
typing.ClassVar, 'Field': <function Field at 0x7f1ca45cee50>, 'Model': <class
'tests.mypy.modules.plugin_success.Model'>, ...}
localns = None

    def evaluate_forwardref(type_, globalns, localns):  # type: ignore
>       return type_._evaluate(globalns, localns)
E       TypeError: _evaluate() missing 1 required positional argument:
'recursive_guard'

pydantic/typing.py:30: TypeError
============== 18 failed, 1439 passed, 54 skipped in 5.01 seconds ==============
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9
3.8" returned exit code 13
make: *** [debian/rules:8: build] Error 25

Reply via email to