NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1379 most downloaded on PyPI
Typing stubs for psutil
Last release 28 days ago
06 Sep 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
89 releases · first in 2021
One column per quarter.
Type the memory map and heap namedtuple fields
* Add __all__
__all__ (#16259)Upgrade black to 26.5.0
Upgrade black to 26.5.0 (#15801)
Drop 3.9 support for third-party packages
Use dashes instead of underscores for METADATA.toml field names
Use dashes instead of underscores for METADATA.toml field names (#15614)
Update most test/lint dependencies
[psutil] Update to 7.2.2
[psutil] Update to 7.2.2 (#15337)
[psutil] Annotate Popen.__init__ method
[psutil] Annotate Popen.init method (#15186)
[stubsabot] Bump psutil to 7.2.1
[stubsabot] Bump psutil to 7.2.1 (#15192)
Release: https://pypi.org/pypi/psutil/7.2.1 Homepage: https://github.com/giampaolo/psutil Repository: https://github.com/giampaolo/psutil Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/psutil
If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
[psutil] Update to 7.2.0
[psutil] Update to 7.2.0 (#15173)
[psutil] Use more strict pyright settings
[psutil] Use more strict pyright settings (#15109)
[psutil] add overloads for cpu_affinity
[psutil] add overloads for cpu_affinity (#15112)
[psutil] Complete common POSIX logic
[psutil] Complete common POSIX logic (#15094)
[psutil] Complete Linux
[psutil] Complete Linux (#15093)
[psutil] Complete BSD
[psutil] Complete BSD (#15090)
[psutil] Complete SunOS
[psutil] Complete SunOS (#15089)
[psutil] Complete AIX
[psutil] Complete AIX (#15088)
[psutil] Update to 7.1.3
[psutil] Update to 7.1.3 (#15074)
[psutil] Bump psutil to 7.1.1
[psutil] Bump psutil to 7.1.1 (#14873)
[psutil] Annotate few common attributes
[psutil] Complete Windows stubs
[psutil] Complete Windows stubs (#15015)
[psutil] Use Incomplete instead of Any
[psutil] Use Incomplete instead of Any (#15010)
[psutil] Add cache_clear to psutil.process_iter typing
[psutil] Add cache_clear to psutil.process_iter typing (#14803)
Add __slots__ to third-party packages using stubdefaulter
Split tool.stubtest.platforms metadata key
Split tool.stubtest.platforms metadata key (#13746)
Co-authored-by: Avasam samuel.06@hotmail.com Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
[psutil]: Add missing __dir__ method to psutil.Popen
[psutil]: Add missing __dir__ method to psutil.Popen (#14207)
Replace Incomplete | None = None in third party stubs
Replace Incomplete | None = None in third party stubs (#14063)
Add __all__ part 2 (#13719) --------- Co-authored-by: Avasam
Update psutil to 7.0.*
Update psutil to 7.0.* (#13507)
Update to mypy 1.14
Update to mypy 1.14 (#13272)
Update type for psutil.cpu_count
Update type for psutil.cpu_count (#12941)
The function can return None: https://github.com/giampaolo/psutil/blame/567438cd3eb4334486d88ba90aa14c65755b61cd/psutil/init.py#L1665-L1667
Bump psutil to 6.1.*
Bump psutil to 6.1.* (#12868)
update psutil.Process.parent() return type
update psutil.Process.parent() return type (#12767)
per psutil.Process.parent()'s docstring, it may return None.
https://github.com/giampaolo/psutil/blob/0a71d0e404ddaab32b5222351fd2292802e3b131/psutil/init.py#L574
Fix types for psutil.cpu_* functions
Fix types for psutil.cpu_* functions (#12602)
psutil: deprecate Process.connections
Update dependency pyright to v1.1.363
Update dependency pyright to v1.1.363 (#11919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood alex.waygood@gmail.com
stubs: change psutil's Process.wait timeout argument to float
stubs: change psutil's Process.wait timeout argument to float (#11883)
Fixes #11866
Add precise values for enum members where possible
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com Co-authored-by: Alex Waygood alex.waygood@gmail.com
[psutil] add settable info property
[psutil] add settable info property (#10275)
Use PEP 570 syntax in third party stubs
Use PEP 570 syntax in third party stubs (#11554)
A new shade of Black
A new shade of Black (#11362)
Update typing_extensions imports in third-party stubs
Update typing_extensions imports in third-party stubs (#11245)
psutil: updates
psutil: updates (#10894)
Add an upstream_repository field to METADATA.toml
Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
psutil: import platform-specific 'pio' definitions
psutil: import platform-specific 'pio' definitions (#10305)
psutil: declare return type of io_counters()
psutil: declare return type of io_counters() (#10303)
[psutil] Fix cpu_percent return type when percpu is True
[psutil] Fix cpu_percent return type when percpu is True (#10238)
psutil: fix stubtest (#10065) Fixes #10059
psutil: fix stubtest (#10065)
Fixes #10059
Add default values for third-party stubs beginning with 'P'
Add default values for third-party stubs beginning with 'P' (#9957)
Found out about this the hard way.
psutil: sconn.pid can be None (#9853)
Found out about this the hard way.
The code path that allows None is here: https://github.com/giampaolo/psutil/blob/2da99502238852f18f74db05304e67a01ee77005/psutil/_pslinux.py#L923
Improve many __(a)exit__ annotations
Improve many __(a)exit__ annotations (#9696)
Stubtest settings: change ignore_missing_stub default to false
Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Use typing_extensions.Self instead of _typeshed.Self
Replace Any with Incomplete in many places
Replace Any with Incomplete in many places (#9558)
Run stubtest for psutil on all platforms
Run stubtest for psutil on all platforms (#9169)
psutil: Fix win_service_iter() return type to allow iterating over its result
psutil: Fix win_service_iter() return type to allow iterating over its result (#8932)
See https://github.com/giampaolo/psutil/commit/70eecaf44d61f2cabcd22ffb407b904242a122c9
psutil: add snicstats.flags (#8928)
Fixes #8927
See https://github.com/giampaolo/psutil/commit/70eecaf44d61f2cabcd22ffb407b904242a122c9
Use Incomplete instead of Any in __getattr__
Use Incomplete instead of Any in __getattr__ (#8903)
psutil: Improve types for disk_io_counters() and net_io_counters()
psutil: Improve types for disk_io_counters() and net_io_counters() (#8829)
psutil: improve svmem types
psutil: improve svmem types (#8503)
Your coding agent can read these notes before it upgrades. Set up the MCP server →