pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-psutil py-psutil: updated to 5.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/babfbe06d594
branches:  trunk
changeset: 427683:babfbe06d594
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 19 10:04:54 2020 +0000

description:
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.

diffstat:

 sysutils/py-psutil/Makefile |   9 +++------
 sysutils/py-psutil/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 11 deletions(-)

diffs (47 lines):

diff -r 135e8e85f85d -r babfbe06d594 sysutils/py-psutil/Makefile
--- a/sysutils/py-psutil/Makefile       Sun Apr 19 09:37:34 2020 +0000
+++ b/sysutils/py-psutil/Makefile       Sun Apr 19 10:04:54 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2019/12/13 09:48:26 adam Exp $
+# $NetBSD: Makefile,v 1.36 2020/04/19 10:04:54 adam Exp $
 
-DISTNAME=      psutil-5.6.7
+DISTNAME=      psutil-5.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/psutil/}
@@ -12,7 +12,7 @@
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
-TEST_DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
 TEST_DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 .endif
@@ -28,8 +28,5 @@
 PLIST_SUBST+=  SYSTEM=${OPSYS:tl}
 .endif
 
-do-test:
-       cd ${WRKSRC} && ${PYTHONBIN} psutil/tests/__main__.py
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 135e8e85f85d -r babfbe06d594 sysutils/py-psutil/distinfo
--- a/sysutils/py-psutil/distinfo       Sun Apr 19 09:37:34 2020 +0000
+++ b/sysutils/py-psutil/distinfo       Sun Apr 19 10:04:54 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.35 2019/12/13 09:48:26 adam Exp $
+$NetBSD: distinfo,v 1.36 2020/04/19 10:04:54 adam Exp $
 
-SHA1 (psutil-5.6.7.tar.gz) = 96b5d98ec385b6ab08d703f8b75a8d371261437f
-RMD160 (psutil-5.6.7.tar.gz) = 3e01afd6180034a334b2ed50f1c8be15318b84a4
-SHA512 (psutil-5.6.7.tar.gz) = 74eb488b91764941e38214f07bca00e3c837167ad543bfd9ae3b83d665e2be1bb5341eca4aff9282ad50d321568a679e1ffa2ee72ad7b4965cda92b7c80b2503
-Size (psutil-5.6.7.tar.gz) = 448321 bytes
+SHA1 (psutil-5.7.0.tar.gz) = 8c26a9336998e0ba7939979b480fd4a64c0b3d77
+RMD160 (psutil-5.7.0.tar.gz) = 0f18df3c85ee2f3136b5fd54cdf1fa84d2bc2795
+SHA512 (psutil-5.7.0.tar.gz) = 8cee64ab396dae79866e961aeabdb9a4174e1339bcd5c0a35f23fee97ca2a61c0cb08f7152d7e0db90c387400c5c6fb3da2dd2124ce9bf97dfffe6f3b4967981
+Size (psutil-5.7.0.tar.gz) = 449628 bytes
 SHA1 (patch-psutil___psbsd.py) = da61606aee2366181935c10873d0627d0cb80f3f
 SHA1 (patch-psutil___psutil__bsd.c) = a94b2c5a11338f3fffcbdde4339391c9519cf6d6



Home | Main Index | Thread Index | Old Index