pemistahl / lingua-py

The most accurate natural language detection library for Python, suitable for short text and mixed-language text
Apache License 2.0
1.08k stars 44 forks source link

Bump psutil from 5.9.4 to 5.9.5 #165

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps psutil from 5.9.4 to 5.9.5.

Changelog

Sourced from psutil's changelog.

5.9.5

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]: 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] 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

... (truncated)

Commits
  • 0d4900b pre release
  • 190059c Add CI testing for OpenBSD and NetBSD (#2240)
  • aa42066 Fix #2239 / proc name(): don't fail with ZombieProcess on cmdline()
  • 0a81fa0 #2238: passed wrong value to Py_BuildValue
  • 0e3f6c4 fix #2238 if cwd() cannot be determined always return "" instead of None
  • b070015 Fix #2237, OpenBSD, cwd(): return None instead of FileNotFoundError
  • b1c1a00 BSD: refactor py code related to filtering connections
  • 1946190 Fix #2236 / NetNBSD: skip terminated process threads
  • a0b096c [NetBSD] virtual_memory() metrics are completely wrong (#2235), fixes #2234
  • 9322179 docs: add percentage usage of virtual memory (#2223)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 11 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.