Skip to content

⬆️(deps): Update psutil requirement from <7.0.0,>=5.9.0 to >=5.9.0,<8.0.0 in /packages/truss_tools - #144

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/packages/truss_tools/psutil-gte-5.9.0-and-lt-8.0.0
Closed

⬆️(deps): Update psutil requirement from <7.0.0,>=5.9.0 to >=5.9.0,<8.0.0 in /packages/truss_tools#144
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/packages/truss_tools/psutil-gte-5.9.0-and-lt-8.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 26, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on psutil to permit the latest version.

Changelog

Sourced from psutil's changelog.

7.2.2 — 2026-01-28 ^^^^^^^^^^^^^^^^^^

Enhancements

  • :gh:2705: [Linux]: :meth:Process.wait now uses pidfd_open() + poll() (no busy loop). Requires Linux >= 5.3 and Python >= 3.9.
  • :gh:2705: [macOS], [BSD]: :meth:Process.wait now uses kqueue() (no busy loop).

Bug fixes

  • :gh:2701, [macOS]: fix compilation error on macOS < 10.7. (patch by Sergey Fedorov)
  • :gh:2707, [macOS]: fix potential memory leaks in error paths of :meth:Process.memory_full_info and :meth:Process.threads.
  • :gh:2708, [macOS]: :meth:Process.cmdline and :meth:Process.environ may fail with OSError: [Errno 0] Undefined error (from sysctl(KERN_PROCARGS2)). They now raise :exc:AccessDenied instead.

7.2.1 — 2025-12-29 ^^^^^^^^^^^^^^^^^^

Bug fixes

  • :gh:2699, [FreeBSD], [NetBSD]: :func:heap_info does not detect small allocations (<= 1K). In order to fix that, we now flush internal jemalloc cache before fetching the metrics.

7.2.0 — 2025-12-23 ^^^^^^^^^^^^^^^^^^

Enhancements

  • :gh:1275: new :func:heap_info and :func:heap_trim functions, providing direct access to the platform's native C heap allocator (glibc, mimalloc, libmalloc). Useful to create tools to detect memory leaks.
  • :gh:2403, [Linux]: publish wheels for Linux musl.
  • :gh:2680: unit tests are no longer installed / part of the distribution. They now live under tests/ instead of psutil/tests.

Bug fixes

  • :gh:2684, [FreeBSD], [critical]: compilation fails on FreeBSD 14 due to missing include.
  • :gh:2691, [Windows]: fix memory leak in :func:net_if_stats due to missing Py_CLEAR.

Compatibility notes

... (truncated)

Commits
  • 9eea97d Pre-release
  • 938ac64 Rm sphinxcontrib.googleanalytics; override layout.html
  • 9dcbb7e Add sphinxcontrib-googleanalytics to requirements.txt
  • 76eaf9a Try to add google analytics to doc
  • de1cafa Update doc mentioning Process.wait() internal details
  • bb30943 Refact can_use_pidfd_open() and can_use_kqueue()
  • a571717 #2708, macos / cmdline / environ; raise AD instead of OSError(0) (#2709)
  • 8b98c3e Pre-release
  • 700b7e6 [macOS] fix potential leaks in error paths (#2707)
  • 7cc7923 Windows / cmdline(): be more defensive in free()ing in case of error
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 26, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

"typing-extensions>=4.12.2,<5.0.0",
"pexpect>=4.9.0,<5.0.0",
"psutil>=5.9.0,<7.0.0",
"psutil>=5.9.0,<8.0.0",

@devin-ai-integration devin-ai-integration Bot Apr 26, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 uv.lock not updated to match new psutil version constraint

The pyproject.toml was updated to allow psutil>=5.9.0,<8.0.0, but uv.lock:4691 still contains the old specifier >=5.9.0,<7.0.0. This means uv sync may reject or fail to install psutil 7.x even though the intent of this PR is to allow it. The lock file needs to be regenerated (e.g., via uv lock) to reflect the updated constraint.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@codecov

codecov Bot commented Apr 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.59%. Comparing base (fe89e39) to head (1a95896).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #144   +/-   ##
=======================================
  Coverage   84.59%   84.59%           
=======================================
  Files          72       72           
  Lines       12480    12480           
=======================================
  Hits        10558    10558           
  Misses       1922     1922           
Components Coverage Δ
core 84.91% <ø> (ø)
tools 81.12% <ø> (ø)
cli 85.19% <ø> (ø)
api 96.06% <ø> (ø)
ha 93.88% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Updates the requirements on [psutil](https://github.com/giampaolo/psutil) to permit the latest version.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/docs/changelog.rst)
- [Commits](giampaolo/psutil@v5.9.0...v7.2.2)

---
updated-dependencies:
- dependency-name: psutil
  dependency-version: 7.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/packages/truss_tools/psutil-gte-5.9.0-and-lt-8.0.0 branch from 08a2d3f to 1a95896 Compare April 27, 2026 03:19
@bearlike bearlike closed this Apr 27, 2026
@bearlike
bearlike deleted the dependabot/pip/packages/truss_tools/psutil-gte-5.9.0-and-lt-8.0.0 branch April 27, 2026 06:51
@dependabot @github

dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown
Contributor Author

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.

bearlike added a commit that referenced this pull request Jun 20, 2026
…nvention (#144)

Co-authored-by: mewbo-ai[bot] <268600793+mewbo-ai[bot]@users.noreply.github.com>
bearlike added a commit that referenced this pull request Jun 20, 2026
…nvention (#144)

Co-authored-by: mewbo-ai[bot] <268600793+mewbo-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant