unpushed

python-psutil-2.2.1-1.el6

FEDORA-EPEL-2017-1290b498a8 created by kevin 5 years ago for Fedora EPEL 6

Update to 2.2.1. Fixes bug #1479740

This update has been submitted for testing by kevin.

5 years ago

This update has been pushed to testing.

5 years ago
User Icon anonymous commented & provided feedback 5 years ago

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)"

  • with 0.6.1-1, it gets no error/no warning
  • with 2.2.1-1, it gets:

-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)"

  • with 2.2.1-1, it gets no warning/error
  • with 0.6.1-1, it gets:

-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

User Icon stevetraylen commented & provided feedback 5 years ago
karma

Breaks a lot of comatability and I think the bug could be addressed with a lesser version.

User Icon stevetraylen commented & provided feedback 5 years ago
karma

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.

5 years ago
User Icon kevin commented & provided feedback 5 years ago

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.

Metadata
Type
bugfix
Karma
-1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
BZ#1479740 import psutil fails frequently
0
0

Automated Test Results