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) |
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) |
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) |
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
|
2019-04-30 11:34:04 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-psutil: Remove obsolete MESSAGE
|
2019-04-30 11:32:07 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-psutil: updated to 5.6.2
5.6.2
**Enhancements**
- 604_: [UNIX, Windows] add new psutil.getloadavg() returning system load
- 1404_: [Linux] cpu_count(logical=False) uses a second method (read from
/sys/devices/system/cpu/cpu[0-9]/topology/core_id) in order to determine
the number of physical CPUs in case /proc/cpuinfo does not provide this info.
- 1458_: provide coloured test output. Also show failures on KeyboardInterrupt.
- 1464_: various docfixes (always point to python3 doc, fix links, etc.).
- 1473_: [Windows] process IO priority (ionice()) values are now exposed as 4
new constants: IOPRIO_VERYLOW, IOPRIO_LOW, IOPRIO_NORMAL, IOPRIO_HIGH.
Also it was not possible to set high I/O priority (not it is).
- 1478_: add make command to re-run tests failed on last run.
average calculation.
**Bug fixes**
- 1223_: [Windows] boot_time() may return value on Windows XP.
- 1456_: [Linux] cpu_freq() returns None instead of 0.0 when min/max not
available
- 1462_: [Linux] (tests) make tests invariant to LANG setting
- 1463_: cpu_distribution.py script was broken.
- 1470_: [Linux] disk_partitions(): fix corner case when /etc/mtab doesn't
exist.
- 1471_: [SunOS] Process name() and cmdline() can return SystemError.
- 1472_: [Linux] cpu_freq() does not return all CPUs on Rasbperry pi 3.
- 1474_: fix formatting of psutil.tests() which mimicks 'ps aux' output.
- 1475_: [Windows] OSError.winerror attribute wasn't properly checked resuling
in WindowsError being raised instead of AccessDenied.
- 1477_: [Windows] wrong or absent error handling for private NTSTATUS Windows
APIs. Different process methods were affected by this.
- 1480_: [Windows] psutil.cpu_count(logical=False) could cause a crash due to
fixed read violation.
- 1486_: [AIX, SunOS] AttributeError when interacting with Process methods
involved into oneshot() context.
- 1491_: [SunOS] net_if_addrs(): free() ifap struct on error.
- 1493_: [Linux] cpu_freq(): handle the case where
/sys/devices/system/cpu/cpufreq/ exists but is empty.
|
2019-03-18 13:59:50 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-psutil: updated to 5.6.1
5.6.1
Bug fixes
- 1329_: [AIX] psutil doesn't compile on AIX 6.1. (patch by Arnon Yaari)
- 1448_: [Windows] crash on import due to rtlIpv6AddressToStringA not available
on Wine.
- 1451_: [Windows] Process.memory_full_info() segfaults. NtQueryVirtualMemory
is now used instead of QueryWorkingSet to calculate USS memory.
5.6.0
Enhancements
- 1379_: [Windows] Process suspend() and resume() now use NtSuspendProcess
and NtResumeProcess instead of stopping/resuming all threads of a process.
This is faster and more reliable (aka this is what ProcessHacker does).
- 1420_: [Windows] in case of exception disk_usage() now also shows the path
name.
- 1422_: [Windows] Windows APIs requiring to be dynamically loaded from DLL
libraries are now loaded only once on startup (instead of on per function
call) significantly speeding up different functions and methods.
- 1426_: [Windows] PAGESIZE and number of processors is now calculated on
startup.
- 1428_: in case of error, the traceback message now shows the underlying C
function called which failed.
- 1433_: new Process.parents() method. (idea by Ghislain Le Meur)
- 1437_: pids() are returned in sorted order.
- 1442_: python3 is now the default interpreter used by Makefile.
Bug fixes
- 1353_: process_iter() is now thread safe (it rarely raised TypeError).
- 1394_: [Windows] Process name() and exe() may erroneously return \
"Registry".
QueryFullProcessImageNameW is now used instead of GetProcessImageFileNameW
in order to prevent that.
- 1411_: [BSD] lack of Py_DECREF could cause segmentation fault on process
instantiation.
- 1419_: [Windows] Process.environ() raises NotImplementedError when querying
a 64-bit process in 32-bit-WoW mode. Now it raises AccessDenied.
- 1427_: [OSX] Process cmdline() and environ() may erroneously raise OSError
on failed malloc().
- 1429_: [Windows] SE DEBUG was not properly set for current process. It is
now, and it should result in less AccessDenied exceptions for low-pid
processes.
- 1432_: [Windows] Process.memory_info_ex()'s USS memory is miscalculated
because we're not using the actual system PAGESIZE.
- 1439_: [NetBSD] Process.connections() may return incomplete results if using
oneshot().
- 1447_: original exception wasn't turned into NSP/AD exceptions when using
Process.oneshot() ctx manager.
Incompatible API changes
- 1291_: [OSX] Process.memory_maps() was removed because inherently broken
(segfault) for years.
|
2019-02-17 09:38:24 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-psutil: updated to 5.5.1
5.5.1
Enhancements
- [Windows] on Windows >= 8.1 if Process.cmdline() fails due to
ERROR_ACCESS_DENIED attempt using NtQueryInformationProcess +
ProcessCommandLineInformation. (patch by EccoTheFlintstone)
Bug fixes
- [Windows] Process.exe() returns "[Error 0] The operation completed
successfully" when Python process runs in "Virtual Secure Mode".
- psutil exceptions' repr() show the internal private module path.
- [AIX] psutil won't compile on AIX 7.1 due to missing header.
|
2019-01-24 14:06:45 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-psutil: updated to 5.5.0
5.5.0
Enhancements
- [FreeBSD] added support for sensors_temperatures().
- [FreeBSD] added support for CPU frequency.
Bug fixes
- Process.oneshot() is now thread safe.
- [Linux] disk_io_counters() fails on Linux kernel 4.18+.
- [Linux] Process' memory_maps() and io_counters() method are no longer
exposed if not supported by the kernel.
- [Windows] fix psutil.Process().ionice(...) mismatch.
- [Windows] improper usage of CloseHandle() may lead to override the
original error code when raising an exception.
- incorrect handling of cache in Process.oneshot() context causes
Process instances to return incorrect results.
- [Windows] OpenProcess() now uses PROCESS_QUERY_LIMITED_INFORMATION
access rights wherever possible, resulting in less AccessDenied exceptions
being thrown for system processes.
- [Windows] check if variable is NULL before free()ing it.
|