https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/asttokens-2.0.5 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 766213 [details] build.log build log and emerge --info
Error(s) that match a know pattern: # Astroid fails with a syntax error if a type comment is on its own line except OSError: except TypeError: 0, 1, 10], 11, 13], 14], 15, 17], 2, 20], 21, 27, 3, 4, 5, 5], 6, 7, 7], 9], [1294 chars]])])" != "Func[77 chars] 2, [830 chars]))])" != "Func[63 chars] 2, de[1005 chars]))])" de[1005 chars]))])" != "Func[62 chars] 2, de[1040 chars]])])" de[1040 chars]])])" != "Func[103 chars] 2, de[1292 chars]])])" de[1962 chars]])])" de[1962 chars]])])" != "Clas[78 chars] 2, de[2065 chars]))])" != "Func[104 chars] 2, de[500 chars]()])" de[500 chars]()])" != "Asyn[61 chars] 3, de[5190 chars]])])" de[5192 chars]])])" != "Clas[82 chars] 2, de[60 chars]()])" de[60 chars]()])" != "Clas[78 chars] 2, de[680 chars]))])" != "Func[57 chars] 2, de[82 chars]()])" de[82 chars]()])" != "Clas[88 chars] 2, de[828 chars]))])" de[95 chars]()])" de[95 chars]()])" != "Clas[88 chars] 2, dec[1218 chars]))])" dec[1218 chars]))])" != "Func[56 chars] 2, dec[59 chars]()])" dec[59 chars]()])" != "Clas[77 chars] 2, dec[723 chars]()])" dec[723 chars]()])" != "Func[54 chars] 3, dec[897 chars]))])" dec[897 chars]))])" != "Func[54 chars] 2, deco[2063 chars]))])" deco[678 chars]))])" ' except AttributeError: ' except AttributeError: ' except ImportError: ' except KeyError: ' except AttributeError: ' except KeyError: ' except AttributeError: ' except _DeadlockError: 'except NameError: ' E AssertionError: 1 != 2 E AssertionError: 11 != 2 E AssertionError: 15 != 2 E AssertionError: 21 != 2 E AssertionError: 27 != 2 E AssertionError: 3 != 2 E AssertionError: 4 != 2 E AssertionError: 5 != 2 E AssertionError: 6 != 3 E AssertionError: 6 != 4 E AssertionError: 7 != 2 E AssertionError: 7 != 5 E AssertionError: "Asyn[61 chars] 6, E AssertionError: "Clas[77 chars] 5, E AssertionError: "Clas[78 chars] 4, E AssertionError: "Clas[82 chars] 4, E AssertionError: "Clas[88 chars] 3, E AssertionError: "Clas[88 chars] 5, E AssertionError: "Func[103 chars] 7, E AssertionError: "Func[104 chars] 27, E AssertionError: "Func[54 chars] 1, E AssertionError: "Func[54 chars] 6, E AssertionError: "Func[56 chars] 1, E AssertionError: "Func[57 chars] 21, E AssertionError: "Func[62 chars] 3, E AssertionError: "Func[63 chars] 15, E AssertionError: "Func[77 chars] 11, FAILED tests/test_astroid.py::TestAstroid::test_assignment_expressions - Asse... FAILED tests/test_astroid.py::TestAstroid::test_async_def - AssertionError: "... FAILED tests/test_astroid.py::TestAstroid::test_decorators - AssertionError: ... FAILED tests/test_astroid.py::TestAstroid::test_fixture10 - AssertionError: "... FAILED tests/test_astroid.py::TestAstroid::test_fixture11 - AssertionError: "... FAILED tests/test_astroid.py::TestAstroid::test_fixture13 - AssertionError: "... FAILED tests/test_astroid.py::TestAstroid::test_fixture3 - AssertionError: "C... FAILED tests/test_astroid.py::TestAstroid::test_fixture4 - AssertionError: "C... FAILED tests/test_astroid.py::TestAstroid::test_fixture5 - AssertionError: "C... FAILED tests/test_astroid.py::TestAstroid::test_fixture7 - AssertionError: "F... FAILED tests/test_astroid.py::TestAstroid::test_fixture8 - AssertionError: "F... FAILED tests/test_astroid.py::TestAstroid::test_fixture9 - AssertionError: "C... FAILED tests/test_astroid.py::TestAstroid::test_fstrings - AssertionError: "F... FAILED tests/test_astroid.py::TestAstroid::test_mark_tokens_simple - Assertio... FAILED tests/test_astroid.py::TestAstroid::test_print_function - AssertionErr... FAILED tests/test_astroid.py::TestAstroid::test_splat - AssertionError: "Func... FAILED tests/test_astroid.py::TestAstroid::test_sys_modules - AssertionError:... FAILED tests/test_astroid.py::TestAstroid::test_tuples - AssertionError: "Fun...
Fails with newer astroid versions (from last 1.5 years)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03995c484ebf44fc2db149509f11b70ad14d793 commit c03995c484ebf44fc2db149509f11b70ad14d793 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-07-29 09:26:38 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-07-29 10:12:03 +0000 dev-python/asttokens: disable astroid tests Tests need a specific astroid version that we can't provide Closes: https://bugs.gentoo.org/834561 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-python/asttokens/asttokens-2.0.5.ebuild | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-)