Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-psleak
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-psleak: updated to 0.1.6 0.1.6 - Rewrote the leak detection heuristic: it now looks at the average memory growth per call instead of the absolute growth per run, making it much harder for noise to fool it. Detection is now reliable also when tests are run in parallel. - The number of calls now escalates geometrically (x1.5 per run) instead of linearly. - Tests can now run in parallel via pytest-xdist; the warning previously emitted when running inside a worker is gone. - ``execute()`` now rejects ``times`` < 2 and ``retries`` < 1: those values silently disabled parts of the detection. - Dropped support for Python 3.6 and 3.7 (now requires Python 3.8+). - Compatibility with psutil 8.0.
py-psleak: updated to 0.1.5 A testing framework for detecting memory leaks and unclosed resources created by Python functions, particularly those implemented in C or other native extensions.