Opened 2 years ago

Closed 2 years ago

#20532 closed enhancement (fixed)

psutil-6.1.0 (Python module)

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.3
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 2 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: new → assigned

comment:2 by Bruce Dubbs, 2 years ago

6.1.0 - 2024-10-17

Enhancements

  • [Windows]: drastically speedup process_iter()_. We now determine process unique identity by using process "fast" create time method. This will considerably speedup those apps which use process_iter()_ only once, e.g. to look for a process with a certain name.
  • use pytest instead of unittest.
  • add make install-sysdeps target to install the necessary system dependencies (python-dev, gcc, etc.) on all supported UNIX flavors.
  • add make install-pydeps-test and make install-pydeps-dev targets. They can be used to install dependencies meant for running tests and for local development. They can also be installed via pip install .[test] and pip install .[dev].
  • allow to run tests via python3 -m psutil.tests even if pytest module is not installed. This is useful for production environments that don't have pytest installed, but still want to be able to test psutil installation.

Bug fixes

  • psutil (segfault) on import in the free-threaded (no GIL) version of Python 3.13.
  • [Linux]: IndexError may occur when reading /proc/pid/stat and field 40 (blkio_ticks) is missing.
  • [AIX]: significantly improve the speed of Process.open_files()_ for some edge cases.
  • [OpenBSD]: Process.num_fds()_ and Process.open_files()_ may fail with NoSuchProcess_ for PID 0. Instead, we now return "null" values (0 and [] respectively).

comment:3 by Bruce Dubbs, 2 years ago

Resolution: → fixed
Status: assigned → closed

Fixed at commits

6aa3c1eea1 Update to glib-2.82.2.
3986161ef6 Update to psutil-6.1.0 (Python module).
c79ab5bb31 Update to sentry_sdk-2.17.0 (Python module).
Note: See TracTickets for help on using tickets.