Repository navigation
chore(deps): update dependency psutil to v5.9.8 - autoclosed - #107
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.9.5→==5.9.8Release Notes
giampaolo/psutil (psutil)
v5.9.8Compare Source
=====
2024-01-19
Enhancements
net_connections()_ returned list in C instead ofPython, and avoid to retrieve unnecessary connection types unless explicitly
asked. E.g., on an IDLE system with few IPv6 connections this will run around
4 times faster. Before all connection types (TCP, UDP, UNIX) were retrieved
internally, even if only a portion was returned.
Bug fixes
net_connections()_ implementation was broken.It could either leak memory or core dump.
Process.cwd()_ will return anempty string instead of raising
NoSuchProcess_.cpu_freq()now returns fixed values forminandmaxfrequencies in all Apple Silicon chips.
v5.9.7Compare Source
=====
2023-12-17
Enhancements
raw-string-in-exception, which helps providingclearer tracebacks when exceptions are raised by psutil.
Bug fixes
PyErr_SetExcFromWindowsErrWithFilenameObjectcPython API.v5.9.6Compare Source
=====
2023-10-15
Enhancements
cpu_percent()_ andcpu_times_percent()_ are now thread safe,meaning they can be called from different threads and still return
meaningful and independent results. Before, if (say) 10 threads called
cpu_percent(interval=None)at the same time, only 1 thread out of 10would get the right result.
Process_ class is passed a very high PID, raiseNoSuchProcess_instead of OverflowError. (patch by Xuehai Pan)
Process.ppid()_ andProcess.parents()_.ruffPython linter instead offlake8 + isort. It's anorder of magnitude faster + it adds a ton of new code quality checks.
Bug fixes
can't be read due to permission error. Redirect it to
PSUTIL_DEBUGinstead.
Klausner)
swap_memory()_(patch by student_2333)
bytes2human()utility function was unable to properly representnegative values.
disk_usage()_ fails on Python 3.12+. (patch byMatthieu Darbois)
Process.memory_full_info()_ may incorrectly raiseZombieProcess_ if it's determined via/proc/pid/smaps_rollup. Insteadwe now fallback on reading
/proc/pid/smaps.Process.is_running()_ erroneously returnFalsefor zombie processes, because creation time cannot be determined.ZombieProcess_ onProcess.exe(),Process.cmdline()andProcess.memory_maps()_ instead of returning a"null" value.
pre-emptively checked for
Process.nice()_ (set),Process.ionice(),(set),
Process.cpu_affinity()(set),Process.rlimit()_(set),
Process.parent()_.Process.threads()_ always fail with AccessDenied (also asroot).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.