Skip to content

Bump psutil from 7.1.3 to 7.2.0#307

Merged
docktermj merged 1 commit into
mainfrom
dependabot/pip/psutil-7.2.0
Dec 24, 2025
Merged

Bump psutil from 7.1.3 to 7.2.0#307
docktermj merged 1 commit into
mainfrom
dependabot/pip/psutil-7.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Dec 23, 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 added dependencies Pull requests that update a dependency file python python programming languagae labels Dec 23, 2025
@dependabot dependabot Bot requested a review from a team as a code owner December 23, 2025 22:15
@dependabot dependabot Bot added python python programming languagae dependencies Pull requests that update a dependency file labels Dec 23, 2025
@github-actions
Copy link
Copy Markdown

🤖 Claude Code Review

Code Review Analysis

Review Results

Code Quality

Code follows style guide

  • This is a dependency version bump in pyproject.toml. No code style concerns apply.

No commented-out code

  • Clean change with no commented code.

Meaningful variable names

  • N/A - This is a dependency version update.

DRY principle followed

  • N/A - This is a dependency version update.

Defects Analysis

  • No bugs, logic errors, or security vulnerabilities introduced.
  • This is a minor version bump of psutil from 7.1.3 to 7.2.0, which should be backward compatible.

Project memory configuration

  • N/A - No project-specific configuration concerns for a dependency update.

Testing

⚠️ Unit tests for new functions

  • N/A - No new functions added. However, recommend verifying existing tests pass with the new psutil version.

⚠️ Integration tests for new endpoints

  • N/A - No new endpoints.

⚠️ Edge cases covered

  • N/A - Dependency update should be validated through existing test suite.

⚠️ Test coverage > 80%

  • Cannot assess from diff. Existing test coverage should remain unchanged.

Documentation

Readme updated if needed

  • N/A - Dependency updates typically don't require README changes unless there are breaking changes or new features being utilized.

API docs updated

  • N/A - No API changes.

Inline comments for complex logic

  • N/A - No code logic changes.

⚠️ CHANGELOG.md updated

  • Cannot determine from diff if CHANGELOG.md was updated. For a minor dependency bump, this may or may not be required depending on project conventions. Recommend checking if this dependency update should be documented.

Markdown formatting

  • N/A - No markdown changes in this PR.

Security

No hardcoded credentials

  • No credentials in change.

Input validation implemented

  • N/A - No new input handling.

Proper error handling

  • N/A - No error handling changes.

No sensitive data in logs

  • N/A - No logging changes.

No license files or suspicious strings

  • No .lic files or AQAAAD strings detected.

Summary

Overall Assessment: ✅ APPROVED with minor recommendations

This is a clean, straightforward dependency update from psutil 7.1.3 to 7.2.0 in the development dependencies section. The change appears safe and follows standard dependency management practices.

Recommendations:

  1. Verify CI/CD passes: Ensure all automated tests pass with the new psutil version before merging.
  2. Check CHANGELOG: Consider whether this dependency bump should be documented in CHANGELOG.md based on your project's conventions.
  3. Review psutil release notes: Verify compatibility by checking the psutil 7.2.0 release notes for any breaking changes or deprecations.

File analyzed: pyproject.toml:48

No blocking issues identified. This PR is safe to merge once CI passes.

Automated code review analyzing defects and coding standards

@docktermj docktermj merged commit 40dcdc4 into main Dec 24, 2025
36 checks passed
@docktermj docktermj deleted the dependabot/pip/psutil-7.2.0 branch December 24, 2025 13:47
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 languagae

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants