2366_, [Windows]: drastically speedup process_iter(). We now determine
process unique identity by using process "fast" create time method. This
will considerably speedup those apps which use process_iter() only once,
e.g. to look for a process with a certain name.
2446_: use pytest instead of unittest.
2448_: add make install-sysdeps target to install the necessary system
dependencies (python-dev, gcc, etc.) on all supported UNIX flavors.
2449_: add make install-pydeps-test and make install-pydeps-dev
targets. They can be used to install dependencies meant for running tests and
for local development. They can also be installed via pip install .[test]
and pip install .[dev].
2456_: allow to run tests via python3 -m psutil.tests even if pytest
module is not installed. This is useful for production environments that
don't have pytest installed, but still want to be able to test psutil
installation.
Bug fixes
2427_: psutil (segfault) on import in the free-threaded (no GIL) version of
Python 3.13. (patch by Sam Gross)
2455_, [Linux]: IndexError may occur when reading /proc/pid/stat and
field 40 (blkio_ticks) is missing.
2457_, [AIX]: significantly improve the speed of Process.open_files()_ for
some edge cases.
2460_, [OpenBSD]: Process.num_fds()_ and Process.open_files()_ may fail
with NoSuchProcess_ for PID 0. Instead, we now return "null" values (0 and
[] respectively).
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| psutil | [< 5.10, > 5.9.2] |
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 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)
Bumps psutil from 6.0.0 to 6.1.0.
Changelog
Sourced from psutil's changelog.
Commits
fb68f9f
pre release567438c
[Windows] speed upprocess_iter()
(#2444)b1a7593
Usepytest.skip
instead ofunittest.SkipTest
(#2461)b19d5bd
AIX: improve open_files() regexp speed (#2457)223938f
Use@pytest.mark.skipif
decorator instead of@unittest.skipIf
(#2459)f65fe44
[OpenBSD] Processnum_fds()
andopen_files()
may raise NSP for PID 0 (#2460)0a71d0e
enable ruff cache (faster)4649a88
Run tests without pytests (#2456)80af879
revert change which broke python 2 tests4e85bee
change call_until() signature so that it can be used with lambdaMost Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | psutil | [< 5.10, > 5.9.2] |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