From a9d1eab790fce78c925832b72db027a8f5674192 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 18 Feb 2025 15:39:27 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-psutil_6.1.1.bb | 44 ---------------------- .../python/python3-psutil_7.0.0.bb | 44 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-psutil_6.1.1.bb create mode 100644 meta/recipes-devtools/python/python3-psutil_7.0.0.bb (limited to 'meta') diff --git a/meta/recipes-devtools/python/python3-psutil_6.1.1.bb b/meta/recipes-devtools/python/python3-psutil_6.1.1.bb deleted file mode 100644 index 9cd2d20fff..0000000000 --- a/meta/recipes-devtools/python/python3-psutil_6.1.1.bb +++ /dev/null @@ -1,44 +0,0 @@ -SUMMARY = "A cross-platform process and system utilities module for Python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1" -HOMEPAGE = "https://pypi.org/project/psutil/" - -SRC_URI[sha256sum] = "cf8496728c18f2d0b45198f06895be52f36611711746b7f30c464b422b50e2f5" - -inherit pypi python_setuptools_build_meta - -PACKAGES =+ "${PN}-tests" - -FILES:${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ - ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ -" - - -RDEPENDS:${PN} += " \ - python3-shell \ - python3-threading \ - python3-xml \ - python3-netclient \ - python3-ctypes \ - python3-resource \ -" - -RDEPENDS:${PN}-tests += " \ - ${PN} \ - python3 \ - coreutils \ - procps \ - binutils \ - gcc \ - gcc-symlinks \ - libstdc++ \ - libstdc++-dev \ -" -RDEPENDS:${PN}-tests:class-native = "" - -INSANE_SKIP:${PN}-tests += "dev-deps" - -CVE_PRODUCT = "psutil" - -BBCLASSEXTEND = "native" 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 @@ +SUMMARY = "A cross-platform process and system utilities module for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1" +HOMEPAGE = "https://pypi.org/project/psutil/" + +SRC_URI[sha256sum] = "7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456" + +inherit pypi python_setuptools_build_meta + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ +" + + +RDEPENDS:${PN} += " \ + python3-shell \ + python3-threading \ + python3-xml \ + python3-netclient \ + python3-ctypes \ + python3-resource \ +" + +RDEPENDS:${PN}-tests += " \ + ${PN} \ + python3 \ + coreutils \ + procps \ + binutils \ + gcc \ + gcc-symlinks \ + libstdc++ \ + libstdc++-dev \ +" +RDEPENDS:${PN}-tests:class-native = "" + +INSANE_SKIP:${PN}-tests += "dev-deps" + +CVE_PRODUCT = "psutil" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf