summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-psutil_7.0.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-02-18 15:39:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 22:53:45 +0000
commita9d1eab790fce78c925832b72db027a8f5674192 (patch)
treeddfe00466c268b45550dc0c252ba2dd321e97c91 /meta/recipes-devtools/python/python3-psutil_7.0.0.bb
parent02f9c77667a8b53657d1a0fcfa03da7b3e1f2951 (diff)
downloadpoky-a9d1eab790fce78c925832b72db027a8f5674192.tar.gz
python3-psutil: upgrade 6.1.1 -> 7.0.0
Changelog: ========== - net_if_addrs() also returns the broadcast address instead of None. - Python 2.7 is no longer supported. Latest version supporting Python 2.7 is psutil 6.1.X. Install it with: pip2 install psutil==6.1.*. - removed long deprecated Process.memory_info_ex() method. It was deprecated in psutil 4.0.0, released 8 years ago. Substitute is Process.memory_full_info(). - Avoid segfault (a cPython bug) on Process.memory_maps() for processes that use hundreds of GBs of memory. - virtual_memory() now relies on host_statistics64 instead of host_statistics. This is the same approach used by vm_stat CLI tool, and should grant more accurate results. - Python 2.7 is no longer supported. - removed long deprecated Process.memory_info_ex() method. (From OE-Core rev: 78a89c7cb3165ba7bf1c31292389ea05944a91a3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-psutil_7.0.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-psutil_7.0.0.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-psutil_7.0.0.bb b/meta/recipes-devtools/python/python3-psutil_7.0.0.bb
new file mode 100644
index 0000000000..22ead67ad9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-psutil_7.0.0.bb
@@ -0,0 +1,44 @@
1SUMMARY = "A cross-platform process and system utilities module for Python"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1"
4HOMEPAGE = "https://pypi.org/project/psutil/"
5
6SRC_URI[sha256sum] = "7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456"
7
8inherit pypi python_setuptools_build_meta
9
10PACKAGES =+ "${PN}-tests"
11
12FILES:${PN}-tests += " \
13 ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \
14 ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \
15"
16
17
18RDEPENDS:${PN} += " \
19 python3-shell \
20 python3-threading \
21 python3-xml \
22 python3-netclient \
23 python3-ctypes \
24 python3-resource \
25"
26
27RDEPENDS:${PN}-tests += " \
28 ${PN} \
29 python3 \
30 coreutils \
31 procps \
32 binutils \
33 gcc \
34 gcc-symlinks \
35 libstdc++ \
36 libstdc++-dev \
37"
38RDEPENDS:${PN}-tests:class-native = ""
39
40INSANE_SKIP:${PN}-tests += "dev-deps"
41
42CVE_PRODUCT = "psutil"
43
44BBCLASSEXTEND = "native"