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: wiz
Date: Tue Oct 22 08:14:49 UTC 2024
Modified Files:
pkgsrc/sysutils/py-psutil: Makefile PLIST distinfo
Removed Files:
pkgsrc/sysutils/py-psutil/patches: patch-setup.py
Log Message:
py-psutil: update to 6.1.0.
6.1.0
=====
2024-10-17
**Enhancements**
- 2366_, [Windows]: drastically speedup `process_iter()`_. We now determine
process unique identity by using process "fast" create time method. This
will considerably speedup those apps which use `process_iter()`_ only once,
e.g. to look for a process with a certain name.
- 2446_: use pytest instead of unittest.
- 2448_: add ``make install-sysdeps`` target to install the necessary system
dependencies (python-dev, gcc, etc.) on all supported UNIX flavors.
- 2449_: add ``make install-pydeps-test`` and ``make install-pydeps-dev``
targets. They can be used to install dependencies meant for running tests and
for local development. They can also be installed via ``pip install .[test]``
and ``pip install .[dev]``.
- 2456_: allow to run tests via ``python3 -m psutil.tests`` even if ``pytest``
module is not installed. This is useful for production environments that
don't have pytest installed, but still want to be able to test psutil
installation.
**Bug fixes**
- 2427_: psutil (segfault) on import in the free-threaded (no GIL) version of
Python 3.13. (patch by Sam Gross)
- 2455_, [Linux]: ``IndexError`` may occur when reading /proc/pid/stat and
field 40 (blkio_ticks) is missing.
- 2457_, [AIX]: significantly improve the speed of `Process.open_files()`_ for
some edge cases.
- 2460_, [OpenBSD]: `Process.num_fds()`_ and `Process.open_files()`_ may fail
with `NoSuchProcess`_ for PID 0. Instead, we now return "null" values (0 and
[] respectively).
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/sysutils/py-psutil/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/sysutils/py-psutil/PLIST
cvs rdiff -u -r1.56 -r1.57 pkgsrc/sysutils/py-psutil/distinfo
cvs rdiff -u -r1.9 -r0 pkgsrc/sysutils/py-psutil/patches/patch-setup.py
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.53 pkgsrc/sysutils/py-psutil/Makefile:1.54
--- pkgsrc/sysutils/py-psutil/Makefile:1.53 Wed Jun 26 16:51:33 2024
+++ pkgsrc/sysutils/py-psutil/Makefile Tue Oct 22 08:14:48 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.53 2024/06/26 16:51:33 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2024/10/22 08:14:48 wiz Exp $
-DISTNAME= psutil-6.0.0
+DISTNAME= psutil-6.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/psutil/}
@@ -13,8 +13,6 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=43:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../mk/bsd.prefs.mk"
# facilitate PLIST processing
@@ -26,8 +24,9 @@ PLIST_SUBST+= SYSTEM=bsd
PLIST_SUBST+= SYSTEM=${OPSYS:tl}
.endif
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} psutil/tests/runner.py
+# https://github.com/giampaolo/psutil/issues/2465
+#do-test:
+# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m psutil.tests
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/py-psutil/PLIST
diff -u pkgsrc/sysutils/py-psutil/PLIST:1.19 pkgsrc/sysutils/py-psutil/PLIST:1.20
--- pkgsrc/sysutils/py-psutil/PLIST:1.19 Sat Jan 20 08:05:41 2024
+++ pkgsrc/sysutils/py-psutil/PLIST Tue Oct 22 08:14:48 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2024/01/20 08:05:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2024/10/22 08:14:48 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -31,8 +31,8 @@ ${PYSITELIB}/psutil/_psposix.pyo
${PYSITELIB}/psutil/_pssunos.py
${PYSITELIB}/psutil/_pssunos.pyc
${PYSITELIB}/psutil/_pssunos.pyo
-${PYSITELIB}/psutil/_psutil_${SYSTEM}.abi3.so
-${PYSITELIB}/psutil/_psutil_posix.abi3.so
+${PYSITELIB}/psutil/_psutil_bsd.so
+${PYSITELIB}/psutil/_psutil_posix.so
${PYSITELIB}/psutil/_pswindows.py
${PYSITELIB}/psutil/_pswindows.pyc
${PYSITELIB}/psutil/_pswindows.pyo
@@ -42,9 +42,6 @@ ${PYSITELIB}/psutil/tests/__init__.pyo
${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
Index: pkgsrc/sysutils/py-psutil/distinfo
diff -u pkgsrc/sysutils/py-psutil/distinfo:1.56 pkgsrc/sysutils/py-psutil/distinfo:1.57
--- pkgsrc/sysutils/py-psutil/distinfo:1.56 Wed Jun 26 16:51:33 2024
+++ pkgsrc/sysutils/py-psutil/distinfo Tue Oct 22 08:14:48 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.56 2024/06/26 16:51:33 wiz Exp $
+$NetBSD: distinfo,v 1.57 2024/10/22 08:14:48 wiz Exp $
-BLAKE2s (psutil-6.0.0.tar.gz) = bde40b7bbc047a0edf88d7a100e88d9b58bb5874bbae700f30c57ed24e349487
-SHA512 (psutil-6.0.0.tar.gz) = 78ef1abe109c985ad3dd3865de5b4a7682fbad0085e5ca5bc1f2f90f03853775554b6c810cd54543cb7a1238efe345b3dcc9f5191270e03bc6a2f4088dd007ba
-Size (psutil-6.0.0.tar.gz) = 508067 bytes
-SHA1 (patch-setup.py) = 29da8c8143a35582797c0fc9da38abcdfc4ba8a5
+BLAKE2s (psutil-6.1.0.tar.gz) = b4adc50ba35c28040f6462a4a8929452a7549ff724180f221465c5016ad095de
+SHA512 (psutil-6.1.0.tar.gz) = 76865df4fdb2a9df45e47589b76b34d0d9d9251491091683e47b4509863e32e46dc62ee2f760b983f0f762b8288d1ea7f32268a6857c049ad12f399908e19c82
+Size (psutil-6.1.0.tar.gz) = 508565 bytes
Home |
Main Index |
Thread Index |
Old Index