From patchwork Thu Sep 21 15:48:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7239 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Rs0DN2M4Qz3wtG for ; Thu, 21 Sep 2023 15:48:20 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Rs0DJ4Q1bz3Yy; Thu, 21 Sep 2023 15:48:16 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Rs0DJ3xhcz306n; Thu, 21 Sep 2023 15:48:16 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Rs0DF2GFTz2xBH for ; Thu, 21 Sep 2023 15:48:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Rs0DF0jpczvy; Thu, 21 Sep 2023 15:48:13 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1695311293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2LPcHrabyVadmJPl2WL9iXUUC4lq3kEkoRxQ2O6d69M=; b=61cKiEy/RXVwzrmF6XZ+GYOlN8VRWx9p2vYn00t/AN8RP6AKzLFlUywRc75YpbDlzbRJmo GcHTl7FJQXmNg1Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1695311293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2LPcHrabyVadmJPl2WL9iXUUC4lq3kEkoRxQ2O6d69M=; b=buCdhq4wk1Q2rh5fYO9QD0cWl8CVv2YTmeddTeVMrgUYL7ShLk2vRXI53ciQkjZBhR8thu nRCUrUO9z3wkDZ0rL7H5jfX8v0ureYg5GcmaYO6vIVpn85XAKyeY9C91o4VqpVHhpwIhBT JkirranwA2ToFYG5vpLDikA/U7JBM2Vgv1+aWgJNKRNRAylX2qgSgb8ByYEREadoJMRHVF thzRYtad6DfExOBLFGxGfkiwggVKT5nS3N6tYcbRG4jadsHsu8T9mK+f0KFp9uH6SPfQ7a bk1tX8nATUEgYTuiu5Mq67SZ1HLiiSQ/1C7P0GIN3HteUq+RMu0yNAqC2CxFbQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] python3-psutil: Update to version 5.9.5-1 Date: Thu, 21 Sep 2023 17:48:05 +0200 Message-ID: <20230921154809.2460-3-adolf.belka@ipfire.org> In-Reply-To: <20230921154809.2460-1-adolf.belka@ipfire.org> References: <20230921154809.2460-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - IPFirer-3.x - Update from version 5.9.4-1 to 5.9.5-1 - Changelog 5.9.5 **Enhancements** - 2196_: in case of exception, display a cleaner error traceback by hiding the `KeyError` bit deriving from a missed cache hit. - 2217_: print the full traceback when a `DeprecationWarning` or `UserWarning` is raised. - 2230_, [OpenBSD]: `psutil.net_connections`_ implementation was rewritten from scratch: - We're now able to retrieve the path of AF_UNIX sockets (before it was an empty string) - The function is faster since it no longer iterates over all processes. - No longer produces duplicate connection entries. - 2238_: there are cases where `Process.cwd()`_ cannot be determined (e.g. directory no longer exists), in which case we returned either ``None`` or an empty string. This was consolidated and we now return ``""`` on all platforms. - 2239_, [UNIX]: if process is a zombie, and we can only determine part of the its truncated `Process.name()`_ (15 chars), don't fail with `ZombieProcess`_ when we try to guess the full name from the `Process.cmdline()`_. Just return the truncated name. - 2240_, [NetBSD], [OpenBSD]: add CI testing on every commit for NetBSD and OpenBSD platforms (python 3 only). **Bug fixes** - 1043_, [OpenBSD] `psutil.net_connections`_ returns duplicate entries. - 1915_, [Linux]: on certain kernels, ``"MemAvailable"`` field from ``/proc/meminfo`` returns ``0`` (possibly a kernel bug), in which case we calculate an approximation for ``available`` memory which matches "free" CLI utility. - 2164_, [Linux]: compilation fails on kernels < 2.6.27 (e.g. CentOS 5). - 2186_, [FreeBSD]: compilation fails with Clang 15. (patch by Po-Chuan Hsieh) - 2191_, [Linux]: `disk_partitions()`_: do not unnecessarily read /proc/filesystems and raise `AccessDenied`_ unless user specified `all=False` argument. - 2216_, [Windows]: fix tests when running in a virtual environment (patch by Matthieu Darbois) - 2225_, [POSIX]: `users()`_ loses precision for ``started`` attribute (off by 1 minute). - 2229_, [OpenBSD]: unable to properly recognize zombie processes. `NoSuchProcess`_ may be raised instead of `ZombieProcess`_. - 2231_, [NetBSD]: *available* `virtual_memory()`_ is higher than *total*. - 2234_, [NetBSD]: `virtual_memory()`_ metrics are wrong: *available* and *used* are too high. We now match values shown by *htop* CLI utility. - 2236_, [NetBSD]: `Process.num_threads()`_ and `Process.threads()`_ return threads that are already terminated. - 2237_, [OpenBSD], [NetBSD]: `Process.cwd()`_ may raise ``FileNotFoundError`` if cwd no longer exists. Return an empty string instead. Signed-off-by: Adolf Belka --- python3-psutil/python3-psutil.nm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3-psutil/python3-psutil.nm b/python3-psutil/python3-psutil.nm index 48c54c2c4..358b4395d 100644 --- a/python3-psutil/python3-psutil.nm +++ b/python3-psutil/python3-psutil.nm @@ -4,7 +4,7 @@ ############################################################################### name = python3-psutil -version = 5.9.4 +version = 5.9.5 release = 1 thisapp = psutil-release-%{version}