pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/py-psutil
Module Name: pkgsrc
Committed By: adam
Date: Tue Sep 23 06:28:45 UTC 2025
Modified Files:
pkgsrc/sysutils/py-psutil: Makefile PLIST distinfo
Log Message:
py-psutil: updated to 7.1.0
7.1.0
2025-09-17
**Enhancements**
- 2581_, [Windows]: publish ARM64 wheels. (patch by Matthieu Darbois)
- 2571_, [FreeBSD]: Dropped support for FreeBSD 8 and earlier. FreeBSD 8 was
maintained from 2009 to 2013.
- 2575_: introduced `dprint` CLI tool to format .yml and .md files.
**Bug fixes**
- 2473_, [macOS]: Fix build issue on macOS 11 and lower.
- 2494_, [Windows]: All APIs dealing with paths, such as
`Process.memory_maps()`_, `Process.exe()`_ and `Process.open_files()`_ does
not properly handle UNC paths. Paths such as ``\\??\\C:\\Windows\\Temp`` and
``'\\Device\\HarddiskVolume1\\Windows\\Temp'`` are now converted to
``C:\\Windows\\Temp``. (patch by Ben Peddell)
- 2506_, [Windows]: Windows service APIs had issues with unicode services using
special characters in their name.
- 2514_, [Linux]: `Process.cwd()`_ sometimes fail with `FileNotFoundError` due
to a race condition.
- 2526_, [Linux]: `Process.create_time()`_, which is used to univocally
identify a process over time, is subject to system clock updates, and as such
can lead to `Process.is_running()`_ returning a wrong result. A monotonic
creation time is now used instead. (patch by Jonathan Kohler)
- 2528_, [Linux]: `Process.children()`_ may raise ``PermissionError``. It will
now raise `AccessDenied`_ instead.
- 2540_, [macOS]: `boot_time()`_ is off by 45 seconds (C precision issue).
- 2541_, 2570_, 2578_ [Linux], [macOS], [NetBSD]: `Process.create_time()`_ does
not reflect system clock updates.
- 2542_: if system clock is updated `Process.children()`_ and
`Process.parent()`_ may not be able to return the right information.
- 2545_: [Illumos]: Fix handling of MIB2_UDP_ENTRY in `net_connections()`_.
- 2552_, [Windows]: `boot_time()`_ didn't take into account the time spent
during suspend / hibernation.
- 2560_, [Linux]: `Process.memory_maps()`_ may crash with `IndexError` on
RISCV64 due to a malformed `/proc/{PID}/smaps` file. (patch by Julien
Stephan)
- 2586_, [macOS], [CRITICAL]: fixed different places in C code which can
trigger a segfault.
- 2604_, [Linux]: `virtual_memory()`_ "used" memory does not match recent
versions of ``free`` CLI utility. (patch by Isaac K. Ko)
- 2605_, [Linux]: `psutil.sensors_battery()` reports a negative amount for
seconds left.
- 2607_, [Windows]: ``WindowsService.description()`` method may fail with
``ERROR_NOT_FOUND``. Now it returns an empty string instead.
- 2610:, [macOS], [CRITICAL]: fix `cpu_freq()`_ segfault on ARM architectures.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/sysutils/py-psutil/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/sysutils/py-psutil/PLIST
cvs rdiff -u -r1.59 -r1.60 pkgsrc/sysutils/py-psutil/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/py-psutil/Makefile
diff -u pkgsrc/sysutils/py-psutil/Makefile:1.61 pkgsrc/sysutils/py-psutil/Makefile:1.62
--- pkgsrc/sysutils/py-psutil/Makefile:1.61 Mon Sep 22 21:50:35 2025
+++ pkgsrc/sysutils/py-psutil/Makefile Tue Sep 23 06:28:44 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2025/09/22 21:50:35 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2025/09/23 06:28:44 adam Exp $
-DISTNAME= psutil-7.0.0
+DISTNAME= psutil-7.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/}
@@ -14,6 +13,8 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TEST_DEPENDS+= ${PYPKGPREFIX}-pyperf>0:../../devel/py-pyperf
TEST_DEPENDS+= ${PYPKGPREFIX}-requests>0:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-instafail>0:../../devel/py-test-instafail
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-subtests>0:../../devel/py-test-subtests
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>0:../../devel/py-test-xdist
USE_TOOLS+= gmake
@@ -22,8 +23,8 @@ USE_TOOLS+= gmake
#do-test:
# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m psutil.tests
-# with this method, as of 7.0.0, after installation:
-# 6 failed, 306 passed, 272 skipped, 2 warnings, 1 error
+# with this method, as of 7.1.0, after installation:
+# 2 failed, 313 passed, 277 skipped, 2 warnings, 365 subtests passes
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${GMAKE} test
Index: pkgsrc/sysutils/py-psutil/PLIST
diff -u pkgsrc/sysutils/py-psutil/PLIST:1.23 pkgsrc/sysutils/py-psutil/PLIST:1.24
--- pkgsrc/sysutils/py-psutil/PLIST:1.23 Mon Apr 14 08:31:30 2025
+++ pkgsrc/sysutils/py-psutil/PLIST Tue Sep 23 06:28:44 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2025/04/14 08:31:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2025/09/23 06:28:44 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -73,6 +73,9 @@ ${PYSITELIB}/psutil/tests/test_process_a
${PYSITELIB}/psutil/tests/test_scripts.py
${PYSITELIB}/psutil/tests/test_scripts.pyc
${PYSITELIB}/psutil/tests/test_scripts.pyo
+${PYSITELIB}/psutil/tests/test_sudo.py
+${PYSITELIB}/psutil/tests/test_sudo.pyc
+${PYSITELIB}/psutil/tests/test_sudo.pyo
${PYSITELIB}/psutil/tests/test_sunos.py
${PYSITELIB}/psutil/tests/test_sunos.pyc
${PYSITELIB}/psutil/tests/test_sunos.pyo
Index: pkgsrc/sysutils/py-psutil/distinfo
diff -u pkgsrc/sysutils/py-psutil/distinfo:1.59 pkgsrc/sysutils/py-psutil/distinfo:1.60
--- pkgsrc/sysutils/py-psutil/distinfo:1.59 Tue Mar 4 06:03:04 2025
+++ pkgsrc/sysutils/py-psutil/distinfo Tue Sep 23 06:28:45 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.59 2025/03/04 06:03:04 adam Exp $
+$NetBSD: distinfo,v 1.60 2025/09/23 06:28:45 adam Exp $
-BLAKE2s (psutil-7.0.0.tar.gz) = 1cf1bf3a71b525132ec9a4b7966556b0adbe1b3718393c6014088e262745f7e2
-SHA512 (psutil-7.0.0.tar.gz) = 83c17e5dd975bd403d8ece3bcfe021e5b845eb53260f8857999ebc6fdea8aca83e136b945aaa0b3974dc387191988c22fcdcab03effc8e943382989a106aeaf3
-Size (psutil-7.0.0.tar.gz) = 497003 bytes
+BLAKE2s (psutil-7.1.0.tar.gz) = 6f7873a1c56d57fff9ca6eee7606e6a76dcfd1aeac8df03488e28d374b3c59cc
+SHA512 (psutil-7.1.0.tar.gz) = 6bf0fdaa7c1241126f99041bdfde87c3fe834b8364e306eb72deebafcc272a135d64502e12157e1134ebf0353893dee906fa00517ca3d399e97ea486b238ee6c
+Size (psutil-7.1.0.tar.gz) = 497660 bytes
Home |
Main Index |
Thread Index |
Old Index