Update to 2.2.1. Fixes bug #1479740
This update has been submitted for testing by kevin.
This update has been pushed to testing.
This is a huge version jump, which unfortunately changes the API (Process.{,set_}{,io}nice) and adds a warning for it. Here are two reproducers:
python -c "import os;import psutil; p = psutil.Process(os.getpid()); p.set_nice(18); p.set_ionice(psutil.IOPRIO_CLASS_BE, 6)"
-c:1: DeprecationWarning: set_nice() is deprecated; use nice() instead -c:1: DeprecationWarning: set_ionice() is deprecated; use ionice() instead
python -c "import os;import psutil; p = psutil.Process(os.getpid()); p.nice(18); p.ionice(psutil.IOPRIO_CLASS_BE, 6)"
-c:1: DeprecationWarning: this property is deprecated; use Process.get_nice() method instead Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: 'int' object is not callable
karma: -1
Breaks a lot of comatability and I think the bug could be addressed with a lesser version.
Clicked the wrong sign.
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
Perhaps you could share those findings in the attached bug?
I was just going off the suggestion there. In the mean time I'll unpush this until we sort it out.
This update has been unpushed.
Please login to add feedback.
Confirm request to re-trigger tests.
This update has been submitted for testing by kevin.
This update has been pushed to testing.
This is a huge version jump, which unfortunately changes the API (Process.{,set_}{,io}nice) and adds a warning for it. Here are two reproducers:
python -c "import os;import psutil; p = psutil.Process(os.getpid()); p.set_nice(18); p.set_ionice(psutil.IOPRIO_CLASS_BE, 6)"
python -c "import os;import psutil; p = psutil.Process(os.getpid()); p.nice(18); p.ionice(psutil.IOPRIO_CLASS_BE, 6)"
karma: -1
Breaks a lot of comatability and I think the bug could be addressed with a lesser version.
Clicked the wrong sign.
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
Perhaps you could share those findings in the attached bug?
I was just going off the suggestion there. In the mean time I'll unpush this until we sort it out.
This update has been unpushed.