## 7.0.0.20250218 (2025-02-18)

Update psutil to 7.0.* (#13507)

## 6.1.0.20241221 (2024-12-21)

Update to mypy 1.14 (#13272)

## 6.1.0.20241102 (2024-11-02)

Update type for psutil.cpu_count (#12941)

The function can return None:
https://github.com/giampaolo/psutil/blame/567438cd3eb4334486d88ba90aa14c65755b61cd/psutil/__init__.py#L1665-L1667

## 6.1.0.20241022 (2024-10-22)

Bump psutil to 6.1.* (#12868)

## 6.0.0.20241011 (2024-10-11)

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

## 6.0.0.20240901 (2024-09-01)

Fix types for psutil.cpu_* functions (#12602)

## 6.0.0.20240621 (2024-06-21)

psutil: deprecate `Process.connections` (#12174)

Bump psutil to 6.0.* (#12167)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

## 5.9.5.20240516 (2024-05-16)

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>

## 5.9.5.20240511 (2024-05-11)

stubs: change psutil's Process.wait timeout argument to float (#11883)

Fixes #11866

## 5.9.5.20240423 (2024-04-23)

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>

## 5.9.5.20240316 (2024-03-16)

[psutil] add settable info property (#10275)

## 5.9.5.20240311 (2024-03-11)

Use PEP 570 syntax in third party stubs (#11554)

## 5.9.5.20240205 (2024-02-05)

A new shade of Black (#11362)

## 5.9.5.20240106 (2024-01-06)

Update typing_extensions imports in third-party stubs (#11245)

## 5.9.5.17 (2023-10-16)

psutil: updates (#10894)

## 5.9.5.16 (2023-07-20)

Add an upstream_repository field to METADATA.toml (#10487)

Closes: #10478

## 5.9.5.15 (2023-06-12)

psutil: import platform-specific 'pio' definitions (#10305)

## 5.9.5.14 (2023-06-12)

psutil: declare return type of io_counters() (#10303)

## 5.9.5.13 (2023-06-01)

[psutil] Fix cpu_percent return type when percpu is True (#10238)

## 5.9.5.12 (2023-04-20)

psutil: fix stubtest (#10065)

Fixes #10059

## 5.9.5.11 (2023-03-27)

Add default values for third-party stubs beginning with 'P' (#9957)

## 5.9.5.10 (2023-03-08)

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

## 5.9.5.9 (2023-02-26)

Improve many `__(a)exit__` annotations (#9696)

## 5.9.5.8 (2023-02-21)

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.

## 5.9.5.7 (2023-02-15)

Use `typing_extensions.Self` instead of `_typeshed.Self` (#9702)

Bump pyright to 1.1.294; improve `psutil` stubs (#9739)

Partially type psfullmem

## 5.9.5.6 (2023-01-18)

Replace `Any` with `Incomplete` in many places (#9558)

## 5.9.5.5 (2022-11-13)

Run stubtest for psutil on all platforms (#9169)

## 5.9.5.4 (2022-10-20)

`psutil`: Fix `win_service_iter()` return type to allow iterating over its result (#8932)

## 5.9.5.3 (2022-10-19)

psutil: add snicstats.flags (#8928)

Fixes #8927

See https://github.com/giampaolo/psutil/commit/70eecaf44d61f2cabcd22ffb407b904242a122c9

## 5.9.5.2 (2022-10-15)

Use `Incomplete` instead of `Any` in `__getattr__` (#8903)

## 5.9.5.1 (2022-10-03)

psutil: Improve types for disk_io_counters() and net_io_counters() (#8829)

## 5.9.5 (2022-08-08)

psutil: improve svmem types (#8503)

## 5.9.4 (2022-08-08)

psutil: types for virtual_memory (#8501)

## 5.9.3 (2022-07-30)

Remove or move several `TypeAlias` declarations (#8444)

## 5.9.2 (2022-07-19)

Third-party stubs: enforce CamelCase for type alias names (#8256)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

## 5.9.1 (2022-07-04)

Third-party stubs: audit more `Callable[<parameters>, Any]` annotations (#8233)

## 5.9.0 (2022-07-01)

[stubsabot] Bump psutil to 5.9.* (#8213)

Co-authored-by: hauntsaninja <>

## 5.8.23 (2022-06-06)

Always use `TypeAlias` when assigning to `Any` (#8021)

## 5.8.22 (2022-04-16)

Third-party stubs: import from `collections.abc` where possible (#7637)

## 5.8.21 (2022-04-16)

Use `TypeAlias` where possible for type aliases (#7630)

## 5.8.20 (2022-01-31)

Upgrade black version (#7089)

## 5.8.19 (2022-01-10)

Always use `_typeshed.Self`, where applicable (#6880)

* Always use `_typeshed.Self`, where applicable

* Revert changes to `google-cloud-ndb` (ambiguous)

* Remove empty line added by script

* Revert changes to `stubs/python-dateutil/dateutil/relativedelta.pyi`

* Manually add a few more that the script missed

* Improve `filelock` annotation

Source code here: https://github.com/tox-dev/py-filelock/blob/79ec7b2826e33b982fe83b057f359448b9d966ba/src/filelock/_api.py#L207

* Improve `opentracing/scope` annotation

Source code here: https://github.com/opentracing/opentracing-python/blob/3e1d357a348269ef54d67f761302fab93dbfc0f7/opentracing/scope.py#L71

* Improve `redis/client` stub

Source code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/client.py#L1217

* Improve `redis/lock` annotation

Source code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/lock.py#L155

* Improve `requests/models` annotation

Source code here: https://github.com/psf/requests/blob/d718e753834b84018014a23d663369ac27d1ab9c/requests/models.py#L653

## 5.8.17 (2021-12-28)

Use PEP 585 syntax wherever possible (#6717)

## 5.8.16 (2021-12-23)

fix typing for psutil sconn (#6669)

## 5.8.15 (2021-11-23)

Reduce use of deprecated `typing` aliases (#6358)

## 5.8.14 (2021-11-08)

Process.status returns a status string (#6245)

Typed STATUS_* constants using Literal

## 5.8.13 (2021-10-12)

Add star to all non-0.1 versions (#6146)

## 5.8.12 (2021-10-07)

Add missing annotations for psutil (#6124)

## 5.8.11 (2021-10-07)

Improves `psutil` (#6103)

Add a few items and annotations to psutil

## 5.8.10 (2021-10-05)

Add several missing type annotations to `psutil._common` (#6104)

## 5.8.9 (2021-10-05)

Properly export types from psutil._compat (#6112)

## 5.8.8 (2021-09-25)

Improves `Popen` types in `psutil` (#6074)

## 5.8.7 (2021-09-25)

Further improvements to `psutil` (#6072)

Adds types to the following functions:
- `psutil.environ()`
- `psutil.send_signal()`
- `psutil.sensors_temperatures()`
- `psutil.sensors_fans()`
- `psutil.sensors_battery()`

## 5.8.6 (2021-09-24)

Further annotations for the psutil module (#6066)

## 5.8.5 (2021-09-10)

Annotate more NamedTuples for psutil (#6021)

## 5.8.4 (2021-09-09)

Annotate several NamedTuples in psutil (#6016)

Annotate more methods of psutil.Process (#6012)

## 5.8.3 (2021-09-06)

Improves `psutil/_common.pyi` (#6010)

* Improves `psutil/_common.pyi`

In this iteration I've fixed the most obvious types and corrected several mistakes.
We can go deeper in the next iteration(s).

* We don't need to import `Union`

* Update _common.pyi

* Update _common.pyi

* Update _common.pyi

## 5.8.2 (2021-09-06)

Adds more missing `ContextManager` types (#6007)

1. https://github.com/giampaolo/psutil/blob/c3e63b4dd59f1724a7fa29371e53dfa7f46cbcd3/psutil/_psbsd.py#L571
2. https://github.com/giampaolo/psutil/blob/c3e63b4dd59f1724a7fa29371e53dfa7f46cbcd3/psutil/_psosx.py#L365

## 5.8.1 (2021-09-05)

Fix return type of Process.oneshot() (#6006)

