gitbot
gitbot copied to clipboard
pip(deps): bump psutil from 7.0.0 to 7.1.3
Bumps psutil from 7.0.0 to 7.1.3.
Changelog
Sourced from psutil's changelog.
7.1.3
2025-11-02
Enhancements
- 2667_: enforce
clang-formaton all C and header files. It is now the mandatory formatting style for all C sources.- 2672_, [macOS], [BSD]: increase the chances to recognize zombie processes and raise the appropriate exception (
ZombieProcess_).- 2676_, 2678_: replace unsafe
sprintf/snprintf/sprintf_scalls withstr_format(). Replacestrlcat/strlcpywith safestr_copy/str_append. This unifies string handling across platforms and reduces unsafe usage of standard string functions, improving robustness.Bug fixes
- 2674_, [Windows]:
disk_usage()_ could truncate values on 32-bit platforms, potentially reporting incorrect total/free/used space for drives larger than 4GB.- 2675_, [macOS]:
Process.status()_ incorrectly returns "running" for 99% of the processes.- 2677_, [Windows]: fix MAC address string construction in
net_if_addrs()_. Previously, the MAC address buffer was incorrectly updated using a fixed increment andsprintf_s, which could overflow or misformat the string if the MAC length or formatting changed. Also, the final '\n' was inserted unnecessarily.- 2679_, [OpenBSD], [NetBSD], [critical]: can't build due to C syntax error.
7.1.2
2025-10-25
Enhancements
- 2657_: stop publishing prebuilt Linux and Windows wheels for 32-bit Python. 32-bit CPython is still supported, but psutil must now be built from source. 2565_: produce wheels for free-thread cPython 3.13 and 3.14 (patch by Lysandros Nikolaou)
Bug fixes
- 2650_, [macOS]:
Process.cmdline()_ andProcess.environ()_ may incorrectly raiseNoSuchProcess_ instead ofZombieProcess_.- 2658_, [macOS]: double
free()inProcess.environ()_ when it fails internally. This posed a risk of segfault.- 2662_, [macOS]: massive C code cleanup to guard against possible segfaults which were (not so) sporadically spotted on CI.
... (truncated)
Commits
5904ff9Pre-released42db80Update DEVGUIDE.rste4e1003psutil_kinfo_proc: return in case of badargs; also print to stderr in case of...bcdede4Introduce PSUTIL_TESTING mode. Terminate execution if str_* funcs fail6822ba7Replacestrlcat/strlcpywith safestr_copy/str_append(#2678)0a7465cWindows: use str_format() in psutil_users().fd05690[Windows] fix MAC address string construction innet_if_addrs()(#2677)7d82135NetBSD: refact proc cwd()262977fReplace unsafesprintf/snprintf/sprintf_scalls withstr_format()(#2676)1ba3cf5Fix #2675 / macOS: convert process status() to a meaningful value- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)