| Summary: | dev-python/typeguard-2.13.3 fails tests on MUSL | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andrewammerlaan |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/agronholm/typeguard/issues/242 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Agostino Sarubbo
2022-03-11 08:40:22 UTC
Created attachment 766764 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern:
E AssertionError: Regex pattern 'extra key\(s\) \("foo"\) in argument "arg"' does not match 'TypedDict does not support instance and class checks'.
E AssertionError: Regex pattern 'required key\(s\) \("x"\) missing from argument "arg"' does not match 'TypedDict does not support instance and class checks'.
E AssertionError: Regex pattern 'required key\(s\) \("y"\) missing from argument "arg"' does not match 'TypedDict does not support instance and class checks'.
E AssertionError: Regex pattern 'type of dict item "x" for argument "arg" must be int; got str instead' does not match 'TypedDict does not support instance and class checks'.
E AssertionError: Regex pattern 'type of dict item "y" for argument "arg" must be str; got int instead' does not match 'TypedDict does not support instance and class checks'.
E TypeError: TypedDict does not support instance and class checks
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[correct] - T...
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[missing_x]
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[missing_y_error]
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[missing_y_ok]
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[unknown_key]
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[wrong_x] - A...
FAILED tests/test_typeguard.py::TestTypeChecked::test_typed_dict[wrong_y] - A...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa2bfc2456e536d5471bb223754e872ccb8027d commit 3aa2bfc2456e536d5471bb223754e872ccb8027d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-05-23 16:18:04 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-05-23 16:47:52 +0000 dev-python/typeguard: Fix py3.10 test failures Closes: https://bugs.gentoo.org/834957 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../typeguard/files/typeguard-2.13.3-test.patch | 44 ++++++++++++++++++++++ dev-python/typeguard/typeguard-2.13.3-r1.ebuild | 5 +++ 2 files changed, 49 insertions(+) |