Learn more about these different git repos.
Other Git URLs
In an issue unrelated to pagure, I am evaluating whether it is possible to update python-psutil from a 1.X version to 2.X or possibly 3.X in EPEL7. See: https://bugzilla.redhat.com/show_bug.cgi?id=1288221
When looking at the source code, I noticed that pagure is still using the 1.X API that was removed in 2.X and the features are thus broken in current Fedora 23 and rawhide where python-psutil 2.0 and 3.0 are shipped. Please see the aforemention rhbz for details.
In short, the usage of current_process.name must now be current_process.name() and current_process.cmdline must now be current_process.cmdline(). See http://grodola.blogspot.com/2014/01/psutil-20-porting.html for a reference.
If at all possible, could you change the code to be compatible to the new and old API and push it to EPEL7 as well? For an inspiration, here's how fedmsg (where that part of pagure's code seems to originate) changed it for psutil's new API: https://github.com/fedora-infra/fedmsg/commit/ed74506fc578b20394f825e1850e48cb090ac03d
While I'm fine with adjusting the code, the policy for EPEL will probably prevent you from doing the update as it will break any application using this library, whether in the repo or not.
A compat package seems a better way to update psutils in EPEL.
Commit 841a58b fixes this ticket
Thank you for the quick fix. Let's continue the discussion on psutil updates on the rhbz linked in the original comment. I've taken the liberty to CC you there.
Note that we're looking at updating python-psutil in EPEL7, so this is relevant there as well.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-eead4a588c
Commit 841a58b fixes this issue
Login to comment on this ticket.