<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python-psutil/patches, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-03-25T05:05:06Z</updated>
<entry>
<title>python-psutil: bump to 7.2.2</title>
<updated>2026-03-25T05:05:06Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-03-23T18:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=47d4485ae41249961354398cd8a425adaa043ecc'/>
<id>urn:sha1:47d4485ae41249961354398cd8a425adaa043ecc</id>
<content type='text'>
Notable changes since 5.9.5:

v6.0.0:
- process_iter() is now ~20x faster (no longer pre-emptively checks
  PID reuse); add process_iter.cache_clear() API
- Process.connections() renamed to Process.net_connections()
  (old name deprecated)
- disk_partitions() namedtuple drops maxfile/maxpath fields
- Support building with free-threaded CPython 3.13

v7.0.0:
- Drop Python 2.7 support

v7.2.0:
- New heap_info() and heap_trim() functions for native C heap allocator
  access (glibc, mimalloc, libmalloc)
- Tests are no longer part of the installed package

v7.2.2:
- [Linux] Process.wait() now uses pidfd_open() + poll() for waiting
  (no busy loop, faster response); requires Linux &gt;= 5.3 + Python 3.9,
  falls back to polling otherwise
- [macOS/BSD] Process.wait() now uses kqueue() for waiting
- Various macOS memory leak and error handling fixes

Also refresh 100-fix-non-Linux-compile.patch for the updated setup.py
(noqa comment style changed; _compat imports removed upstream).
Add test.sh.

Full changelog:
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python-psutil: Update to 5.9.5, replace patch</title>
<updated>2023-08-17T10:45:41Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-08-11T18:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=56bac94a031bb98d6c1db62b9607a5f356cbaf48'/>
<id>urn:sha1:56bac94a031bb98d6c1db62b9607a5f356cbaf48</id>
<content type='text'>
100_add_cross_platform_build_ability.patch was submitted upstream in
https://github.com/giampaolo/psutil/pull/2068, but that pull request was
closed without being merged.

This replaces that patch with a simpler version that only updates
setup.py, leaving the run-time library code unchanged.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-psutil: update to version 5.9.0, fix build on macos</title>
<updated>2022-02-24T22:33:56Z</updated>
<author>
<name>Sergey V. Lobanov</name>
</author>
<published>2022-01-31T15:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=45b8ef28226a6641ffaede9bba94a12c6dc10686'/>
<id>urn:sha1:45b8ef28226a6641ffaede9bba94a12c6dc10686</id>
<content type='text'>
1. updated to 5.9.0

2. psutil can not be built on macos due to build script detects Darwin
using sys.platform and changes build logic to build for Darwin, but
OpenWrt is Linux.
This commit add patch to allow redefining sys.platform and uses
env var TARGET_SYS_PLATFORM to specify linux as sys platfrom.

Signed-off-by: Sergey V. Lobanov &lt;sergey@lobanov.in&gt;
</content>
</entry>
</feed>
