./sysutils/py-psutil, Cross-platform process and system utilities module for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.7.0, Package name: py37-psutil-5.7.0, Maintainer: pkgsrc-users

util is a module providing an interface for retrieving information,
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using Python, implementing
many functionalities offered by command line tools such as ps, top,
df, netstat, who, kill, uptime, free, lsof, ifconfig, nice, ionice,
iostat, iotop, pidof, tty, taskset, or pmap.

MESSAGE.NetBSD [+/-]

Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8c26a9336998e0ba7939979b480fd4a64c0b3d77
RMD160: 0f18df3c85ee2f3136b5fd54cdf1fa84d2bc2795
Filesize: 439.09 KB

Version history: (Expand)


CVS history: (Expand)


   2020-04-19 12:04:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.7.0

5.7.0

Enhancements
* [SunOS] add partial support for old SunOS 5.10 Update 0 to 3.
* [Linux] sensors_temperatures() looks into an additional /sys/device/ directory \ 
for additional data.
* [Windows] dropped support for Windows XP and Windows Server 2003. Minimum \ 
supported Windows version now is Windows Vista.
* [FreeBSD] add CI testing/service for FreeBSD (Cirrus CI).
* [Windows] process exe() will succeed for all process PIDs (instead of raising \ 
AccessDenied).
* [Windows] net_connections() and Process.connections() are 10% faster.
* [PyPy] added CI / test integration for PyPy via Travis.
* [Windows] added support for PyPy on Windows.
* [Windows] boot_time(), Process.create_time() and users()'s login time now have \ 
1 micro second precision (before the precision was of 1 second).

Bug fixes
* [NetBSD] process cwd() may return ENOENT instead of NoSuchProcess.
* [Linux] Process.memory_maps() can raise KeyError.
* [SunOS] querying basic info for PID 0 results in FileNotFoundError.
* [FreeBSD] many Process methods may cause a segfault on FreeBSD 12.0 due to a \ 
backward incompatible change in a C type introduced in 12.0.
* [Windows] Process.memory_full_info() raises AccessDenied even for the current \ 
user and os.getpid().
* [Windows] Process.open_files() complete rewrite + check of errors.
* [Windows] process exe() may raise WinError 0.
* [Linux] disk_io_counters() does not take into account extra fields added to \ 
recent kernels.
* use the right C type when dealing with PIDs (int or long). Thus far (long) was \ 
almost always assumed, which is wrong on most platforms.
* [OpenBSD] Process connections(), num_fds() and threads() returned improper \ 
exception if process is gone.
* [SunOS] disk_partitions() may raise OSError.
* [Linux] disk_io_counters() may raise ValueError on systems not having \ 
/proc/diskstats.
* [Linux] could not compile on kernels <= 2.6.13 due to PSUTIL_HAVE_IOPRIO \ 
not being defined.
   2019-12-13 10:48:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.6.7

5.6.7
**Bug fixes**
- 1630_: [Windows] can't compile source distribution due to C syntax error.

5.6.6
**Bug fixes**
- 1179_: [Linux] Process cmdline() now takes into account misbehaving processes
  renaming the command line and using inappropriate chars to separate args.
- 1616_: use of Py_DECREF instead of Py_CLEAR will result in double free and
  segfault (CVE).
- 1619_: [OpenBSD] compilation fails due to C syntax error.
   2019-11-06 16:48:23 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
py-psutil: updated to 5.6.5

5.6.5
**Bug fixes**
- remove pyproject.toml as it was causing installation issues.

5.6.4
**Enhancements**
- [Linux] added Process.cpu_times().iowait counter, which is the time
  spent waiting for blocking I/O to complete.
- add PEP 517/8 build backend and requirements specification for better
  pip integration.

**Bug fixes**
- [Windows] Process' cmdline(), environ() or cwd() may occasionally fail
  with ERROR_PARTIAL_COPY which now gets translated to AccessDenied.
- [Linux] cpu_affinity() segfaults on CentOS 5 / manylinux.
  cpu_affinity() support for CentOS 5 was removed.
- [AIX] compilation error on AIX 7.2 due to 32 vs 64 bit differences.
- 'type' and 'family' fields returned by net_connections() are not
  always turned into enums.
- [NetBSD] process cmdline() erroneously raise ZombieProcess error if
  cmdline has non encodable chars.
- usage percent may be rounded to 0 on Python 2.
- [Windows] getloadavg() math for calculating 5 and 15 mins values is
  incorrect.
- [Linux] use CC compiler env var if defined.
- [Windows] `NtWow64*` syscalls fail to raise the proper error code
- [OSX] calling close() (in C) on possible negative integers.
- [SunOS] compilation fails on SunOS 5.10.
   2019-10-11 22:01:51 by Kamil Rytarowski | Files touched by this commit (3)
Log message:
py-psutil: Stop using SDEAD on NetBSD

Fixes usage on recent NetBSD.
   2019-06-29 20:00:49 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-psutil: fix build on -current, which does not define LSDEAD any longer.

Bump PKGREVISION.
   2019-06-12 00:55:04 by Leonardo Taccari | Files touched by this commit (4) | Package updated
Log message:
py-psutil: Update to 5.6.3

pkgsrc changes:
 - Remove no longer needed patch hunks (applied upstream)

Changes:
5.6.3
=====
2019-06-11
Enhancements
------------
 - 1494: [AIX] added support for Process.environ().  (patch by Arnon Yaari)

Bug fixes
---------
 - 1276: [AIX] can't get whole cmdline().  (patch by Arnon Yaari)
 - 1501: [Windows] Process cmdline() and exe() raise unhandled "WinError 1168
   element not found" exceptions for "Registry" and "Memory \ 
Compression" psuedo
   processes on Windows 10.
 - 1526: [NetBSD] process cmdline() could raise MemoryError.  (patch by
   Kamil Rytarowski)
   2019-06-07 21:09:06 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
py-psutil: Fix psutil.Popen.as_dict() MemoryError on NetBSD

Previously for kern.argmax a size_t was used in sysctl(3) and the
uninitialized data lead to a too big malloc() call that failed.

Bump PKGREVISION
   2019-06-01 03:11:57 by Kamil Rytarowski | Files touched by this commit (6)
Log message:
py-psutil: Use KERN_PROC_CWD on NetBSD >= 8.99.42