Created attachment 873992 [details] dev-python:astroid-3.0.1:20231103-171949.log =dev-python/astroid-3.0.1 fails its test phase for me. Specifically, the test tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter fails with output ending: --------------------------------------------- name = 'urllib3.packages.six.moves.http_client', package = None > ??? E ModuleNotFoundError: No module named 'urllib3.packages.six' fullname = 'urllib3.packages.six.moves.http_client' name = 'urllib3.packages.six.moves.http_client' package = None parent_name = 'urllib3.packages.six.moves' <frozen importlib.util>:94: ModuleNotFoundError ----------------------------------------- This test is marked to only run when the version of urllib3 is less than 2 because "Six is not backported anymore in urllib3 v2.0.0". As can be seen in my "emerge --info" output, I have dev-python/urllib3 installed at version 1.26.17; I can't currently upgrade to urllib3-2.0.6 because of dev-python/betamax. Maybe this removal was backported to some 1.26.x version? dev-python/astroid-2.15.8-r1 passed its test phase on this machine last week; I don't know whether this test was added to astroid since then, some dependency has changed in an incompatible way, or something else entirely is causing the test faailure ...
Created attachment 873993 [details] emerge-info.txt
Thanks for the report! I see that the test is skipped with urllib3 >= 2, so I'm just going to deselect it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646b4f62ba05863e520f356166542f388b668f26 commit 646b4f62ba05863e520f356166542f388b668f26 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-11-06 05:19:17 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-11-06 06:22:21 +0000 dev-python/astroid: Deselect test requiring urllib3 w/ bundled six Closes: https://bugs.gentoo.org/916775 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/astroid/astroid-3.0.1.ebuild | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)