Bug 986052

Summary: pypy distutils --user option broken
Product: [Fedora] Fedora EPEL Reporter: M8R-04p9i
Component: pypyAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: jberan, mstuchli, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pypy-2.0.2-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-20 18:17:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
error log none

Description M8R-04p9i 2013-07-18 21:14:01 UTC
User-Agent:       Mozilla/5.0 (Android; Mobile; rv:19.0) Gecko/19.0 Firefox/19.0
Build Identifier: 

Following this guide:
https://pypi.python.org/pypi/setuptools/0.9.6#installation-instructions
I attempt to install setuptools into a user-local path.

wget https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py
pypy ez_setup.py --user

this errors out. error attached to bug.




Reproducible: Always

Steps to Reproduce:
sudo yum install pypy
wget https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py
pypy ez_setup.py --user
Actual Results:  
error log attached

Expected Results:  
expected a directory created in ~/.local/lib/pypy/ with setuptools installed

Comment 1 M8R-04p9i 2013-07-18 21:17:37 UTC
Created attachment 775508 [details]
error log

Comment 2 M8R-04p9i 2013-07-23 03:57:49 UTC
I ran a systrace and pypy seems to look in 
~/.local/lib/python2.7/site-packages/
The Expected Results section should be ammended to:
Expected a directory created in ~/.local/lib/python2.7/site-packages/ with setuptools installed (setuptools dir created and steuptools-{version}-.egg dir created)

Comment 3 Matej Stuchlik 2013-07-23 09:17:51 UTC
I'll look into it, thanks for reporting :)

Comment 4 Fedora Update System 2013-07-31 06:41:23 UTC
pypy-2.0.2-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pypy-2.0.2-1.el6

Comment 5 Fedora Update System 2013-08-01 20:34:42 UTC
Package pypy-2.0.2-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing pypy-2.0.2-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11031/pypy-2.0.2-1.el6
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-08-20 18:17:48 UTC
pypy-2.0.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.