---
title: "psutil 7.2.2 Breaking Changes on PyPI | Since.dev"
description: "What each psutil release removed, renamed or changed: 494 breaking changes in 21 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/psutil
last_updated: 2026-12-04
---

# psutil breaking changes

psutil 7.2.2 (January 28, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed Process.cmdline. Every breaking API change we have recorded in psutil on PyPI: 494 breaking changes in 21 versions. Below, its 21 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.2.2`, released January 28, 2026. [Source repository](https://github.com/giampaolo/psutil)

Its 7.0.0 release drops Python 2.7. [Python end of life dates](https://since.dev/calendar/python.md).

- From [6.1.1](#v-6-1-1) to [7.2.2](#v-7-2-2): 97 breaking changes in 7 versions.
- From [5.0.0](#v-5-0-0) to [7.2.2](#v-7-2-2): 470 breaking changes in 20 versions.

## psutil 7.2.2 breaking changes

psutil 7.2.2, released January 28, 2026: 2 breaking changes.

- **Behavior changed** `Process.cmdline`  

On macOS, cmdline() that previously failed with OSError now raises AccessDenied. Code that catches OSError for this case must catch AccessDenied instead. [github.com](https://github.com/giampaolo/psutil/blob/v7.2.2/HISTORY.rst)
- **Behavior changed** `Process.environ`  

On macOS, environ() that previously failed with OSError now raises AccessDenied. Code that catches OSError for this case must catch AccessDenied instead. [github.com](https://github.com/giampaolo/psutil/blob/v7.2.2/HISTORY.rst)

## psutil 7.2.0 breaking changes

psutil 7.2.0, released December 23, 2025: 1 breaking change.

- **Removed** `psutil.tests`  

Unit tests are no longer part of the distribution and now live under tests/. Importing psutil.tests no longer works, so code importing it must change. [pypi.org](https://pypi.org/project/psutil/7.2.0/)

## psutil 7.1.3 breaking changes

psutil 7.1.3, released November 2, 2025: 1 breaking change.

- **Signature changed** `psutil.tests.test_scripts.TestExampleScripts.assert_stdout`  

Was @staticmethod def assert_stdout(exe, \*args, \*\*kwargs); now @staticmethod def assert_stdout(exe, \*args). [pypi.org](https://pypi.org/project/psutil/7.1.3/)

## psutil 7.1.2 breaking changes

psutil 7.1.2, released October 25, 2025: 6 breaking changes.

- **Removed**  

32-bit CPython is still supported, but psutil must now be built from source on 32-bit Python. Users installing on 32-bit Python need a local build toolchain. [github.com](https://github.com/giampaolo/psutil/blob/v7.1.2/HISTORY.rst)
- **Removed** `psutil.tests.test_bsd.getpagesize`  

psutil.tests.test_bsd.getpagesize was removed in psutil 7.1.2 [pypi.org](https://pypi.org/project/psutil/7.1.2/)
- **Removed** `psutil.tests.test_osx.getpagesize`  

psutil.tests.test_osx.getpagesize was removed in psutil 7.1.2 [pypi.org](https://pypi.org/project/psutil/7.1.2/)
- **Removed** `psutil.tests.test_osx.POSIX`  

psutil.tests.test_osx.POSIX was removed in psutil 7.1.2 [pypi.org](https://pypi.org/project/psutil/7.1.2/)
- **Removed** `psutil.tests.test_posix.getpagesize`  

psutil.tests.test_posix.getpagesize was removed in psutil 7.1.2 [pypi.org](https://pypi.org/project/psutil/7.1.2/)
- **Removed** `psutil.tests.test_process.TestProcess.test_cpu_times_2`  

TestProcess.test_cpu_times_2 was removed in psutil 7.1.2 [pypi.org](https://pypi.org/project/psutil/7.1.2/)

## psutil 7.1.1 breaking changes

psutil 7.1.1, released October 19, 2025: 2 breaking changes.

- **Removed**  

SunOS 10 is no longer supported by this release. Users on SunOS 10 must stay on an earlier psutil version. [github.com](https://github.com/giampaolo/psutil/blob/v7.1.1/HISTORY.rst)
- **Removed** `psutil.tests.print_sysinfo`  

psutil.tests.print_sysinfo was removed in psutil 7.1.1 [pypi.org](https://pypi.org/project/psutil/7.1.1/)

## psutil 7.1.0 breaking changes

psutil 7.1.0, released September 17, 2025: 13 breaking changes.

- **Removed**  

FreeBSD 8 and earlier are no longer supported, so users on those systems must upgrade the operating system. [github.com](https://github.com/giampaolo/psutil/blob/v7.1.0/HISTORY.rst)
- **Removed** `psutil.tests.PsutilTestCase.assertProcessGone`  

PsutilTestCase.assertProcessGone was removed in psutil 7.1.0 [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Removed** `psutil.tests.PsutilTestCase.assertProcessZombie`  

PsutilTestCase.assertProcessZombie was removed in psutil 7.1.0 [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Removed** `psutil.tests.test_linux.PYPY`  

psutil.tests.test_linux.PYPY was removed in psutil 7.1.0 [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Removed** `psutil.tests.test_linux.PYTEST_PARALLEL`  

psutil.tests.test_linux.PYTEST_PARALLEL was removed in psutil 7.1.0 [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Removed** `psutil.tests.test_system.IS_64BIT`  

psutil.tests.test_system.IS_64BIT was removed in psutil 7.1.0 [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Removed** `psutil.tests.test_windows.TestSystemAPIs.test_boot_time_fluctuation`  

TestSystemAPIs.test_boot_time_fluctuation was removed in psutil 7.1.0 [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Renamed** `psutil.tests.PsutilTestCase.assertPidGone`  

Use PsutilTestCase.assert_pid_gone instead. [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Renamed** `psutil.tests.PsutilTestCase.spawn_testproc`  

Use PsutilTestCase.spawn_subproc instead. [pypi.org](https://pypi.org/project/psutil/7.1.0/)
- **Renamed** `psutil.tests.spawn_testproc`  

Use psutil.tests.spawn_subproc instead. [pypi.org](https://pypi.org/project/psutil/7.1.0/)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

15 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### psutil 7.0.0 breaking changes

psutil 7.0.0, released February 13, 2025: 72 breaking changes.

- **Removed**  

Python 2.7 is no longer supported. Users on Python 2.7 must stay on psutil 6.1.x. [github.com](https://github.com/giampaolo/psutil/blob/v7.0.0/HISTORY.rst)
- **Removed** `psutil.Process.memory_info_ex`  

Process.memory_info_ex() was removed. Call Process.memory_full_info() instead. [pypi.org](https://pypi.org/project/psutil/7.0.0/)

And 70 more in this version.

### psutil 6.1.1 breaking changes

psutil 6.1.1, released December 19, 2024: 5 breaking changes.

- **Removed** `psutil.tests.test_linux.EMPTY_TEMPERATURES`  

psutil.tests.test_linux.EMPTY_TEMPERATURES was removed in psutil 6.1.1 [pypi.org](https://pypi.org/project/psutil/6.1.1/)
- **Removed** `psutil.tests.test_linux.SIOCGIFCONF`  

psutil.tests.test_linux.SIOCGIFCONF was removed in psutil 6.1.1 [pypi.org](https://pypi.org/project/psutil/6.1.1/)

And 3 more in this version.

### psutil 6.1.0 breaking changes

psutil 6.1.0, released October 17, 2024: 10 breaking changes.

- **Removed** `psutil.tests.PsutilTestCase.__str__`  

PsutilTestCase.\_\_str\_\_ was removed in psutil 6.1.0 [pypi.org](https://pypi.org/project/psutil/6.1.0/)
- **Removed** `psutil.tests.PsutilTestCase.assertRaisesRegex`  

PsutilTestCase.assertRaisesRegex was removed in psutil 6.1.0 [pypi.org](https://pypi.org/project/psutil/6.1.0/)

And 8 more in this version.

### psutil 6.0.0 breaking changes

psutil 6.0.0, released June 18, 2024: 19 breaking changes.

- **Removed** `disk_partitions.maxfile`  

The namedtuple returned by disk_partitions() no longer has maxfile and maxpath fields. Stop reading those fields. [github.com](https://github.com/giampaolo/psutil/blob/v6.0.0/HISTORY.rst)
- **Removed** `disk_partitions.maxpath`  

The namedtuple returned by disk_partitions() no longer has maxfile and maxpath fields. Stop reading those fields. [github.com](https://github.com/giampaolo/psutil/blob/v6.0.0/HISTORY.rst)

And 17 more in this version.

### psutil 5.9.8 breaking changes

psutil 5.9.8, released January 19, 2024: 21 breaking changes.

- **Removed** `psutil.tests.create_exe`  

psutil.tests.create_exe was removed in psutil 5.9.8 [pypi.org](https://pypi.org/project/psutil/5.9.8/)
- **Removed** `psutil.tests.test_connections.thisproc`  

psutil.tests.test_connections.thisproc was removed in psutil 5.9.8 [pypi.org](https://pypi.org/project/psutil/5.9.8/)

And 19 more in this version.

### psutil 5.9.7 breaking changes

psutil 5.9.7, released December 17, 2023: 1 breaking change.

- **Renamed** `psutil.tests.test_linux.TestMisc.test_users_mocked`  

Use TestMisc.test_users instead. [pypi.org](https://pypi.org/project/psutil/5.9.7/)

### psutil 5.9.6 breaking changes

psutil 5.9.6, released October 15, 2023: 4 breaking changes.

- **Removed**  

The release ends support for Python 3.4 and 3.5. Users on those versions must stay on psutil 5.9.5 or upgrade their Python. [github.com](https://github.com/giampaolo/psutil/blob/v5.9.6/HISTORY.rst)
- **Removed** `psutil.tests.test_linux.TestProcess.test_cwd_zombie`  

TestProcess.test_cwd_zombie was removed in psutil 5.9.6 [pypi.org](https://pypi.org/project/psutil/5.9.6/)

And 2 more in this version.

### psutil 5.9.5 breaking changes

psutil 5.9.5, released April 17, 2023: 12 breaking changes.

- **Removed** `psutil.tests.PYTHON_EXE`  

psutil.tests.PYTHON_EXE was removed in psutil 5.9.5 [pypi.org](https://pypi.org/project/psutil/5.9.5/)
- **Removed** `psutil.tests.test_linux.TestSystemVirtualMemory`  

psutil.tests.test_linux.TestSystemVirtualMemory was removed in psutil 5.9.5 [pypi.org](https://pypi.org/project/psutil/5.9.5/)

And 10 more in this version.

### psutil 5.9.1 breaking changes

psutil 5.9.1, released May 20, 2022: 40 breaking changes.

- **Removed**  

This release stops supporting Python 2.6. Code running on Python 2.6 must move to a newer Python version before upgrading. [github.com](https://github.com/giampaolo/psutil/blob/v5.9.1/HISTORY.rst)
- **Removed** `psutil.tests.test_aix.unittest`  

psutil.tests.test_aix.unittest was removed in psutil 5.9.1 [pypi.org](https://pypi.org/project/psutil/5.9.1/)

And 38 more in this version.

### psutil 5.9.0 breaking changes

psutil 5.9.0, released December 29, 2021: 16 breaking changes.

- **Removed** `psutil.Error.__init__`  

Error() was removed in psutil 5.9.0 [pypi.org](https://pypi.org/project/psutil/5.9.0/)
- **Removed** `psutil.Error.msg`  

Error.msg was removed in psutil 5.9.0 [pypi.org](https://pypi.org/project/psutil/5.9.0/)

And 14 more in this version.

### psutil 5.8.0 breaking changes

psutil 5.8.0, released December 19, 2020: 22 breaking changes.

- **Removed** `psutil.tests.CIRRUS`  

psutil.tests.CIRRUS was removed in psutil 5.8.0 [pypi.org](https://pypi.org/project/psutil/5.8.0/)
- **Removed** `psutil.tests.get_kernel_version`  

psutil.tests.get_kernel_version was removed in psutil 5.8.0 [pypi.org](https://pypi.org/project/psutil/5.8.0/)

And 20 more in this version.

### psutil 5.7.3 breaking changes

psutil 5.7.3, released October 24, 2020: 5 breaking changes.

- **Removed** `psutil.NoSuchProcess.__path__`  

NoSuchProcess.\_\_path\_\_ was removed in psutil 5.7.3 [pypi.org](https://pypi.org/project/psutil/5.7.3/)
- **Removed** `psutil.tests.test_linux.TestSensorsBattery.test_emulate_no_base_files`  

TestSensorsBattery.test_emulate_no_base_files was removed in psutil 5.7.3 [pypi.org](https://pypi.org/project/psutil/5.7.3/)

And 3 more in this version.

### psutil 5.7.1 breaking changes

psutil 5.7.1, released July 15, 2020: 198 breaking changes.

- **Removed** `psutil.tests.create_proc_children_pair`  

psutil.tests.create_proc_children_pair was removed in psutil 5.7.1 [pypi.org](https://pypi.org/project/psutil/5.7.1/)
- **Removed** `psutil.tests.create_zombie_proc`  

psutil.tests.create_zombie_proc was removed in psutil 5.7.1 [pypi.org](https://pypi.org/project/psutil/5.7.1/)

And 196 more in this version.

### psutil 5.7.0 breaking changes

psutil 5.7.0, released February 18, 2020: 20 breaking changes.

- **Removed**  

Minimum supported Windows version is now Windows Vista. Code that must run on Windows XP or Server 2003 should stay on an older psutil release. [github.com](https://github.com/giampaolo/psutil/blob/v5.7.0/HISTORY.rst)
- **Removed** `psutil.tests.runner.BROWN`  

psutil.tests.runner.BROWN was removed in psutil 5.7.0 [pypi.org](https://pypi.org/project/psutil/5.7.0/)

And 18 more in this version.

### psutil 5.0.0 breaking changes

psutil 5.0.0, released November 6, 2016: 24 breaking changes.

- **Removed** `psutil.tests.test_memory_leaks.Base`  

psutil.tests.test_memory_leaks.Base was removed in psutil 5.0.0 [pypi.org](https://pypi.org/project/psutil/5.0.0/)
- **Removed** `psutil.tests.test_memory_leaks.callable`  

psutil.tests.test_memory_leaks.callable was removed in psutil 5.0.0 [pypi.org](https://pypi.org/project/psutil/5.0.0/)

And 22 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
