Red Hat Bugzilla – Bug 1255206
Consider adding installed-files.txt during build
Last modified: 2016-11-04 00:45:08 EDT
Created attachment 1065060 [details]
change to spec to add installed-files.txt
First up, I understand mixing pip & packages is not great; but it's a reality of upstream openstack testing & I do think there is room for packages to help out.
I noticed that when doing "pip uninstall cffi" (i.e., what happens before "pip install cffi" to get a later version) the cffi .so is left behind. This is because pip has no idea it exists; it is just removing the cffi/* and egg directories.
Due to *another* bug in pip  we ended up with two cffi .so's on the system with bad results. After the fix for , pip should overwrite the old file ... but it still seems like it would be better if "pip remove" got rid of it.
It seems that with just adding a --record tag to the install, we could ship an installed-files.txt which would help pip to remove everything correctly.
Interested to know what you think...
Created attachment 1065061 [details]
example of uninstalling cffi with the installed-files.txt file present
Created attachment 1202454 [details]
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.