Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 745141 - distutils-r1.eclass: pth files are not installed by distutils_install_for_testing
Summary: distutils-r1.eclass: pth files are not installed by distutils_install_for_tes...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 17:34 UTC by Louis Sautier (sbraz)
Modified: 2024-04-08 09:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_745141.txt,19.65 KB, text/plain)
2020-09-28 17:34 UTC, Louis Sautier (sbraz)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Sautier (sbraz) gentoo-dev 2020-09-28 17:34:09 UTC
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)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-08 09:38:05 UTC
Legacy mode is deprecated, as well as .pth files.