Created attachment 662848 [details] build.log Hi, As discussed with mgorny, I have one package with a failing test that relies on pth files being installed: dev-python/coloredlogs-14.0 To reproduce, remove the "--deselect ${PN}/tests.py::ColoredLogsTestCase::test_auto_install" line from the ebuild and make sure the package isn't installed on the local system. The build log seems to show that the pth file is being copied but it also gets removed later: copying coloredlogs.pth -> /var/tmp/portage/dev-python/coloredlogs-14.0/work/coloredlogs-14.0-python3_9/bdist.linux-x86_64/egg/ […] removing '/var/tmp/portage/dev-python/coloredlogs-14.0/work/coloredlogs-14.0-python3_9/bdist.linux-x86_64/egg' (and everything under it)
Legacy mode is deprecated, as well as .pth files.