Debian Patches

Status for python-psutil/7.2.2-1

Patch Description Author Forwarded Bugs Origin Last update
0001-Handle-RLIM_INFINITY-on-Python-3.15-on-linux-2871.patch Handle RLIM_INFINITY on Python 3.15 on linux (#2871)
`Process.rlimit` returns `RLIM_INFINITY` as unsigned `2**64-1` instead
of `-1` on Python 3.15+, which changed `resource.prlimit()` accordingly.
psutil now maps it back to `psutil.RLIM_INFINITY` so the value stays
consistent across Python versions.
Giampaolo Rodola <g.rodola@gmail.com> yes debian upstream backport, https://github.com/giampaolo/psutil/commit/b408cfc0a05266a0509ccbb13e253f2d2000ed9f 2026-07-17
0002-tests-normalize-RLIM_INFINITY-from-resource-getrlimit.patch tests: normalize RLIM_INFINITY from resource.getrlimit()
Python 3.15 made resource.RLIM_INFINITY always positive, while
psutil.RLIM_INFINITY stays -1, so normalize before comparing.
Maximiliano Curia <maxy@debian.org> no debian 2026-08-15

All known versions for source package 'python-psutil'

Links