chore(deps): update dependency psutil to v6 #56
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mCaptcha/dcache#56
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/psutil-6.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==5.9.8
->==6.0.0
Release Notes
giampaolo/psutil (psutil)
v6.0.0
Compare Source
================
Enhancements
maxfile
andmaxpath
fields were removed from the namedtuplereturned by
disk_partitions()
_. Reason: on network filesystems (NFS) thiscan potentially take a very long time to complete.
process_iter()
_ no longer pre-emptively checks whether PIDs havebeen reused. This makes
process_iter()
_ around 20x times faster.psutil.process_iter.cache_clear()
API can be used the clearprocess_iter()
_ internal cache.Process.connections()
_ was renamed toProcess.net_connections()
_.The old name is still available, but it's deprecated (triggers a
DeprecationWarning
) and will be removed in the future.Bug fixes
Process.cmdline()
_ sometimes fail with EBUSY. It usuallyhappens for long cmdlines with lots of arguments. In this case retry getting
the cmdline for up to 50 times, and return an empty list as last resort.
by Shade Gladden)
pid_exists()
_ disagrees withProcess
_ onwhether a pid exists when ERROR_ACCESS_DENIED.
pid_exists()
_ erroneously return True if the argument isa thread ID (TID) instead of a PID (process ID).
MNT_
constants.
Porting notes
Version 6.0.0 introduces some changes which affect backward compatibility:
disk_partitions()
_' no longer hasmaxfile
andmaxpath
fields.process_iter()
_ no longer pre-emptively checks whether PIDs havebeen reused. If you want to check for PID reusage you are supposed to use
Process.is_running()
_ against the yieldedProcess
_ instances. That willalso automatically remove reused PIDs from
process_iter()
_ internal cache.Process.connections()
_ was renamed toProcess.net_connections()
_.The old name is still available, but it's deprecated (triggers a
DeprecationWarning
) and will be removed in the future.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 has been generated by Renovate Bot.