Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734992 - distutils-r1.eclass: distutils_install_for_testing should set PATH too
Summary: distutils-r1.eclass: distutils_install_for_testing should set PATH too
Status: RESOLVED FIXED
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-07-31 21:53 UTC by Michał Górny
Modified: 2020-09-15 17:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-31 21:53:09 UTC
It sets PYTHONPATH but doesn't include installed scripts in PATH.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-15 17:04:04 UTC
commit 5eed45569cd54c87a16f967ec52fb5b363948818
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-08-01 21:05:29 +0200
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-08-09 19:10:16 +0200

    distutils-r1.eclass: Set PATH in distutils_install_for_testing
    
    Make distutils_install_for_testing set PATH so that newly-installed
    scripts are available in the testing environment.  Make PATH local
    in all sub-phases to make modifications safe.
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>