Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps psutil from 7.1.3 to 7.2.0.

Changelog

Sourced from psutil's changelog.

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
  • 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
  • 6eda024 Makefile: expand test-* targets
  • b270dfa memleak.py: allow execute(*args) params + trim mem more aggressively
  • 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)

Resolves #2698
Resolves #2696

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

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

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

🤖 Claude Code Review

Code Review Analysis

Summary

This is a dependency version bump for psutil from 7.1.3 to 7.2.0 in the development dependencies.


Code Quality

Code follows style guide - N/A for dependency updates

No commented-out code - None present

Meaningful variable names - N/A for dependency updates

DRY principle followed - N/A for dependency updates

Identify Defects - No defects identified. This is a straightforward dependency version bump.

Project memory configuration - Checked ./.claude/CLAUDE.md - this change is consistent with standard dependency management practices


Testing

⚠️ Unit tests for new functions - N/A, but dependency updates should ideally be verified that existing tests still pass

⚠️ Integration tests for new endpoints - N/A for dependency updates

⚠️ Edge cases covered - N/A for dependency updates

⚠️ Test coverage > 80% - Cannot verify from diff alone, but this change should not affect coverage

Recommendation: Ensure CI/CD pipeline runs all tests successfully with the new psutil version to verify no breaking changes were introduced.


Documentation

Readme updated if needed - Not required for minor dependency updates

API docs updated - Not required for development dependency updates

Inline comments for complex logic - N/A for dependency updates

CHANGELOG.md updated - pyproject.toml:1 - No evidence of CHANGELOG.md being updated. Even dependency bumps should be documented if the project maintains a changelog.

Recommendation: Add an entry to CHANGELOG.md under an "Updated" or "Dependencies" section noting the psutil version bump.

Markdown formatting - N/A, no markdown files modified


Security

No hardcoded credentials - None present

Input validation implemented - N/A for dependency updates

Proper error handling - N/A for dependency updates

No sensitive data in logs - N/A for dependency updates

No license files (.lic) or AQAAAD strings - None detected


Overall Assessment

Status: ✅ APPROVED with minor recommendations

This is a clean dependency version bump. The only item that should be addressed is updating the CHANGELOG.md if the project maintains one. Otherwise, this change is low-risk and follows standard dependency management practices.

Action Items:

  1. Verify CHANGELOG.md exists and update it if present
  2. Confirm all tests pass with psutil 7.2.0 (should be handled by CI/CD)

Automated code review analyzing defects and coding standards

@docktermj docktermj merged commit 7d09f50 into main Dec 24, 2025
16 checks passed
@docktermj docktermj deleted the dependabot/pip/psutil-7.2.0 branch December 24, 2025 13:45
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.

2 participants