Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2025

Bumps psutil from 7.1.3 to 7.2.1.

Changelog

Sourced from psutil's changelog.

7.2.1

2025-12-29

Bug fixes

  • 2699_, [FreeBSD], [NetBSD]: 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

  • 1275_: new heap_info()_ and 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.
  • 2403_, [Linux]: publish wheels for Linux musl.
  • 2680_: unit tests are no longer installed / part of the distribution. They now live under tests/ instead of psutil/tests.

Bug fixes

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

Compatibility notes

  • 2680_: import psutil.tests no longer works (but it was never documented to begin with).
Commits
  • 6130c19 Fix #2699 / BSD: flush internal jemalloc cache before returning metrics.
  • 899ee4e Mention psleak
  • 704e218 Pre-release
  • 1a946cf Take psleak from PYPI
  • 5085421 Use external psleak module for memleak tests (#2698)
  • ac56e6a CI: don't cancel CI in progress on 1st failure
  • 10fe3d5 Merge branch 'master' of github.com:giampaolo/psutil
  • ba507bd Fix various CI errors
  • d5a1398 Update cpu_count docs: clarify differences from os.cpu_count (#2696)
  • 556158f Refact memleak.py
  • 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 <dependency name> 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)

Bumps [psutil](https://github.com/giampaolo/psutil) from 7.1.3 to 7.2.1.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](giampaolo/psutil@release-7.1.3...release-7.2.1)

---
updated-dependencies:
- dependency-name: psutil
  dependency-version: 7.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Python programming language labels Dec 30, 2025
@dependabot dependabot bot requested a review from a team as a code owner December 30, 2025 01:07
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Python programming language labels Dec 30, 2025
@github-actions
Copy link

🤖 Claude Code Review

Code Review Analysis

Analyzing the pull request diff against the provided checklist...

Review Results

Code Quality ✅

  • Code follows style guide: Dependency version update follows standard pyproject.toml formatting
  • No commented-out code: None present
  • Meaningful variable names: N/A - dependency version update only
  • DRY principle followed: N/A - single line change
  • Defects identification: No bugs, logic errors, or vulnerabilities introduced. This is a minor version bump of the psutil library from 7.1.3 to 7.2.1 in the development dependencies.

File: pyproject.toml:42

Testing ⚠️

  • ⚠️ Unit tests for new functions: N/A - No new functionality added
  • ⚠️ Integration tests for new endpoints: N/A - No new endpoints
  • ⚠️ Edge cases covered: N/A - Dependency update
  • ⚠️ Test coverage > 80%: Cannot verify from diff, but dependency updates typically don't affect coverage

Note: As this is a dependency version bump, no new tests are required. However, it's recommended to verify that existing tests pass with the updated psutil version.

Documentation ✅

  • Readme updated if needed: Not required for development dependency update
  • API docs updated: Not required - no API changes
  • Inline comments for complex logic: N/A - No code logic changes
  • CHANGELOG.md updated: Should be verified if CHANGELOG tracks dependency updates (typically optional for dev dependencies)
  • Markdown formatting: N/A - No markdown changes

Security ✅

  • No hardcoded credentials: None present
  • Input validation implemented: N/A
  • Proper error handling: N/A
  • No sensitive data in logs: N/A
  • No license files (.lic) or AQAAAD strings: None detected

Summary

Overall Assessment: ✅ APPROVED

This is a clean dependency update pull request that bumps psutil from version 7.1.3 to 7.2.1 in the development dependencies. The change is:

  • Low risk: Development dependency only (not affecting production)
  • Properly formatted: Follows pyproject.toml conventions
  • No security concerns: Standard version bump
  • No code quality issues: Single line change in configuration file

Recommendations

  1. ✅ Ensure CI/CD pipeline passes with the updated dependency
  2. ✅ Verify compatibility with Python versions specified in the project
  3. ℹ️ Consider reviewing psutil 7.2.1 release notes for any breaking changes or important updates

No blocking issues found. Safe to merge.

Automated code review analyzing defects and coding standards

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 Python programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants