refactor(deps): update dependency psutil to v7 #55
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:
^6.0.0->^7.0.0Release Notes
giampaolo/psutil (psutil)
v7.1.0Compare Source
=====
2025-09-17
Enhancements
maintained from 2009 to 2013.
dprintCLI tool to format .yml and .md files.Bug fixes
Process.memory_maps(),Process.exe()andProcess.open_files()_ doesnot properly handle UNC paths. Paths such as
\\??\\C:\\Windows\\Tempand'\\Device\\HarddiskVolume1\\Windows\\Temp'are now converted toC:\\Windows\\Temp. (patch by Ben Peddell)special characters in their name.
Process.cwd()_ sometimes fail withFileNotFoundErrordueto a race condition.
Process.create_time(), which is used to univocallyidentify a process over time, is subject to system clock updates, and as such
can lead to
Process.is_running()returning a wrong result. A monotoniccreation time is now used instead. (patch by Jonathan Kohler)
Process.children()_ may raisePermissionError. It willnow raise
AccessDenied_ instead.boot_time()_ is off by 45 seconds (C precision issue).Process.create_time()_ doesnot reflect system clock updates.
Process.children()_ andProcess.parent()_ may not be able to return the right information.net_connections()_.boot_time()_ didn't take into account the time spentduring suspend / hibernation.
Process.memory_maps()_ may crash withIndexErroronRISCV64 due to a malformed
/proc/{PID}/smapsfile. (patch by JulienStephan)
trigger a segfault.
virtual_memory()_ "used" memory does not match recentversions of
freeCLI utility. (patch by Isaac K. Ko)psutil.sensors_battery()reports a negative amount forseconds left.
WindowsService.description()method may fail withERROR_NOT_FOUND. Now it returns an empty string instead.cpu_freq()_ segfault on ARM architectures.Compatibility notes
v7.0.0Compare Source
=====
2025-02-13
Enhancements
net_if_addrs()_ also returns thebroadcastaddressinstead of
None.2.7 is psutil 6.1.X. Install it with:
pip2 install psutil==6.1.*.Process.memory_info_ex()method. It wasdeprecated in psutil 4.0.0, released 8 years ago. Substitute is
Process.memory_full_info().Bug fixes
Process.memory_maps()for processes that use hundreds of GBs of memory.
virtual_memory()_ now relies onhost_statistics64instead of
host_statistics. This is the same approach used byvm_statCLI tool, and should grant more accurate results.
Compatibility notes
Process.memory_info_ex()method.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.