2020-11-30 21:31:58 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-psutil: updated to 5.7.3
5.7.3
=====
2020-10-23
**Enhancements**
- 809_: [FreeBSD] add support for `Process.rlimit()`.
- 893_: [BSD] add support for `Process.environ()` (patch by Armin Gruner)
- 1830_: [UNIX] `net_if_stats()`'s `isup` also checks whether the NIC is
running (meaning Wi-Fi or ethernet cable is connected). (patch by Chris Burger)
- 1837_: [Linux] improved battery detection and charge "secsleft" \
calculation
(patch by aristocratos)
**Bug fixes**
- 1620_: [Linux] physical cpu_count() result is incorrect on systems with more
than one CPU socket. (patch by Vincent A. Arcila)
- 1738_: [macOS] Process.exe() may raise FileNotFoundError if process is still
alive but the exe file which launched it got deleted.
- 1791_: [macOS] fix missing include for getpagesize().
- 1823_: [Windows] Process.open_files() may cause a segfault due to a NULL
pointer.
- 1838_: [Linux] sensors_battery(): if `percent` can be determined but not
the remaining values, still return a result instead of None.
(patch by aristocratos)
|
2020-07-16 13:16:21 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-psutil: updated to 5.7.2
5.7.2
=====
Bug fixes
- wheels for 2.7 were inadvertently deleted.
5.7.1
=====
Enhancements
- 1729_: parallel tests on UNIX (make test-parallel). They're twice as fast!
- 1741_: "make build/install" is now run in parallel and it's about \
15% faster
on UNIX.
- 1747_: `Process.wait()` on POSIX returns an enum, showing the negative signal
which was used to terminate the process::
>>> import psutil
>>> p = psutil.Process(9891)
>>> p.terminate()
>>> p.wait()
<Negsignal.SIGTERM: -15>
- 1747_: `Process.wait()` return value is cached so that the exit code can be
retrieved on then next call.
- 1747_: Process provides more info about the process on str() and repr()
(status and exit code)::
>>> proc
psutil.Process(pid=12739, name='python3', status='terminated',
exitcode=<Negsigs.SIGTERM: -15>, started='15:08:20')
- 1757_: memory leak tests are now stable.
- 1768_: [Windows] added support for Windows Nano Server.
Bug fixes
- 1726_: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64.
- 1760_: [Linux] Process.rlimit() does not handle long long type properly.
- 1766_: [macOS] NoSuchProcess may be raised instead of ZombieProcess.
- 1781_: fix signature of callback function for getloadavg().
|
2020-04-19 12:04:54 by Adam Ciarcinski | Files touched by this commit (2) | |
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) | |
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) | |
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) |
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
|