Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582280 - distutils-r1.eclass modifies the HOME variable
Summary: distutils-r1.eclass modifies the HOME variable
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: 582282
Blocks:
  Show dependency tree
 
Reported: 2016-05-06 14:51 UTC by Mike Gilbert
Modified: 2016-08-04 04:53 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 Mike Gilbert gentoo-dev 2016-05-06 14:51:07 UTC
distutils-r1.eclass modifies the HOME variable. This is forbidden according to PMS.

A possible solution would be to call _distutils-r1_create_setup_cfg from esetup.py, to ensure that ${HOME}/.pydistutils.cfg.

This requires some testing to ensure we don't break stuff that relied on pydistutils.cfg persisting between function calls.
Comment 1 Mike Gilbert gentoo-dev 2016-08-04 04:53:48 UTC
commit da4e991e2ac745a1d202b964072b69d3bf4bbd01
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun May 29 08:57:59 2016 -0400

    distutils-r1.eclass: Do not modify the HOME variable
    
    This was only necessary when we ran phases in parallel.
    Also, PMS says this variable should not be modified.