Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update psutil to v5.9.5 #345

Merged
merged 1 commit into from
Apr 24, 2023
Merged

⬆️ Update psutil to v5.9.5 #345

merged 1 commit into from
Apr 24, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
psutil ==5.9.4 -> ==5.9.5 age adoption passing confidence

Release Notes

giampaolo/psutil

v5.9.5

Compare Source

=====

2023-04-17

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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python labels Apr 17, 2023
@github-actions github-actions bot removed the python label Apr 18, 2023
@renovate renovate bot force-pushed the renovate/psutil-5.x branch from dfb21b1 to bb4bcd8 Compare April 21, 2023 07:17
@renovate renovate bot force-pushed the renovate/psutil-5.x branch from bb4bcd8 to c47fa84 Compare April 24, 2023 10:24
@frenck frenck merged commit 13b13df into main Apr 24, 2023
@frenck frenck deleted the renovate/psutil-5.x branch April 24, 2023 12:10
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant