Description of problem: The python-flask RPM owns /usr/lib/python2.7/site-packages/easy-install.pth, which breaks eggs locally installed with easy_install. Version-Release number of selected component (if applicable): 0.6.1-2.fc15 How reproducible: Always. Steps to Reproduce: 1. Use easy_install to install an egg from pypi 2. yum install python-flask Actual results: The local egg stops working because /usr/lib/python2.7/site-packages/easy-install.pth has been clobbered with a bogus version that points to a temporary build directory. $ rpm -qf /usr/lib/python2.7/site-packages/easy-install.pth python-flask-0.6.1-2.fc15.noarch $ cat /usr/lib/python2.7/site-packages/easy-install.pth import sys; sys.__plen = len(sys.path) /builddir/build/BUILD/Flask-0.6.1 import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) Expected results: python-flask RPM has no business owning /usr/lib/python2.7/site-packages/easy-install.pth. This file should just be removed from the RPM.
Created attachment 532960 [details] don’t own easy-install.pth
python-flask-0.7.2-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-flask-0.7.2-2.fc16
python-flask-0.6.1-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-flask-0.6.1-3.fc15
(In reply to comment #0) > Description of problem: > The python-flask RPM owns /usr/lib/python2.7/site-packages/easy-install.pth, > which breaks eggs locally installed with easy_install. Thanks for reporting this. I've committed that patch and built RPMs for f15 and f16. The f15 and f16 packages have been submitted to Bodhi as testing updates. Please test and leave feedback on the Bodhi page: https://admin.fedoraproject.org/updates/python-flask-0.6.1-3.fc15
Package python-flask-0.6.1-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-flask-0.6.1-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16027/python-flask-0.6.1-3.fc15 then log in and leave karma (feedback).
python-flask-0.6.1-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
python-flask-0.7.2-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.