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.6.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17b5c5fb700a
branches:  trunk
changeset: 333115:17b5c5fb700a
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 30 09:32:07 2019 +0000

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

diffstat:

 sysutils/py-psutil/Makefile |   4 ++--
 sysutils/py-psutil/PLIST    |   5 ++++-
 sysutils/py-psutil/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r bfec09776372 -r 17b5c5fb700a sysutils/py-psutil/Makefile
--- a/sysutils/py-psutil/Makefile       Tue Apr 30 09:26:48 2019 +0000
+++ b/sysutils/py-psutil/Makefile       Tue Apr 30 09:32:07 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2019/03/18 12:59:50 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/04/30 09:32:07 adam Exp $
 
-DISTNAME=      psutil-5.6.1
+DISTNAME=      psutil-5.6.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/psutil/}
diff -r bfec09776372 -r 17b5c5fb700a sysutils/py-psutil/PLIST
--- a/sysutils/py-psutil/PLIST  Tue Apr 30 09:26:48 2019 +0000
+++ b/sysutils/py-psutil/PLIST  Tue Apr 30 09:32:07 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/02/17 08:38:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2019/04/30 09:32:07 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -43,6 +43,9 @@
 ${PYSITELIB}/psutil/tests/__main__.py
 ${PYSITELIB}/psutil/tests/__main__.pyc
 ${PYSITELIB}/psutil/tests/__main__.pyo
+${PYSITELIB}/psutil/tests/runner.py
+${PYSITELIB}/psutil/tests/runner.pyc
+${PYSITELIB}/psutil/tests/runner.pyo
 ${PYSITELIB}/psutil/tests/test_aix.py
 ${PYSITELIB}/psutil/tests/test_aix.pyc
 ${PYSITELIB}/psutil/tests/test_aix.pyo
diff -r bfec09776372 -r 17b5c5fb700a sysutils/py-psutil/distinfo
--- a/sysutils/py-psutil/distinfo       Tue Apr 30 09:26:48 2019 +0000
+++ b/sysutils/py-psutil/distinfo       Tue Apr 30 09:32:07 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.27 2019/03/18 12:59:50 adam Exp $
+$NetBSD: distinfo,v 1.28 2019/04/30 09:32:07 adam Exp $
 
-SHA1 (psutil-5.6.1.tar.gz) = 5e1d9fe62f2c74b195a2b98b77ef6118e8e805a1
-RMD160 (psutil-5.6.1.tar.gz) = 44578ece2275032cfe1024bf772ca859dd3898f9
-SHA512 (psutil-5.6.1.tar.gz) = 0800c7cb62f1643594ef410a9f4295a48684f39ab772a27bd8ebae8484d9eaa1c7d5b1064dd63bb2252364180062e7db2e46aa4013ba8bd427827287a520f581
-Size (psutil-5.6.1.tar.gz) = 427472 bytes
+SHA1 (psutil-5.6.2.tar.gz) = c01d48a103196eb513b72d32fbc7cee1ed64a38c
+RMD160 (psutil-5.6.2.tar.gz) = 5450a028ad787d3e274a2c0e11c127bf5cd7e9da
+SHA512 (psutil-5.6.2.tar.gz) = ff41428b43c59ad948b8b4e6824943258abb30dc76cd042bdf7fe72d5aceb9bcbd2a2038a6a43d2b4c36eccae9007ef78779fe0cb5ee3caa68da9b1ba687b66d
+Size (psutil-5.6.2.tar.gz) = 432907 bytes
 SHA1 (patch-psutil___psutil__bsd.c) = 3d1166abdd74e3f3b4bec3098b03e7d05a67df04
 SHA1 (patch-psutil_arch_netbsd_specific.c) = bc38af6ba1c360a12fb3d7112026425ca0cf4a92



Home | Main Index | Thread Index | Old Index