Summary: | distutils-r1.eclass: pth files are not installed by distutils_install_for_testing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Louis Sautier (sbraz) <sbraz> |
Component: | Eclasses | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Legacy mode is deprecated, as well as .pth files. |
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)