Skip to contentSkip to conversation

python3-psutil: Upgrade 5.8.0 -> 5.9.0

PATCH In review Leon Anavi 2 participants 6 messages Jan 7, 2022

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-psutil: Upgrade 5.8.0 -> 5.9.0

Upgrade to release 5.9.0:

- [Linux]: cpu_freq() is slow on systems with many CPUs. Read current frequency values for all CPUs from /proc/cpuinfo instead of opening many files in /sys fs. (patch by marxin)
- NoSuchProcess message now specifies if the PID has been reused.
- error classes (NoSuchProcess, AccessDenied, etc.) now have a better formatted and separated __repr__ and __str__ implementations.
- [BSD]: add support for MidnightBSD.
- [Linux]: disk_partitions(): convert /dev/root device (an alias used on some Linux distros) to real root device path.
- PSUTIL_DEBUG mode now prints file name and line number of the debug messages coming from C extension modules.
- rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc.

---
 .../{python3-psutil_5.8.0.bb => python3-psutil_5.9.0.bb}      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-psutil_5.8.0.bb => python3-psutil_5.9.0.bb} (78%)
meta-python/recipes-devtools/python/python3-psutil_5.9.0.bb renamed from meta-python/recipes-devtools/python/python3-psutil_5.8.0.bb +3 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-psutil_5.8.0.bb
rename to meta-python/recipes-devtools/python/python3-psutil_5.9.0.bb
index 7186d3c97..cf3e0b39c 100644
@@ -2,7 +2,7 @@ SUMMARY = "A cross-platform process and system utilities module for Python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b"
 
-SRC_URI[sha256sum] = "0c9ccb99ab76025f2f0bbecf341d4656e9c1351db8cc8a03ccd62e318ab4b5c6"
+SRC_URI[sha256sum] = "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25"
 
 inherit pypi setuptools3
 
@@ -19,6 +19,8 @@ RDEPENDS:${PN} += " \
     ${PYTHON_PN}-threading \
     ${PYTHON_PN}-xml \
     ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-ctypes \
+    ${PYTHON_PN}-resource \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/5 python3-ujson: Upgrade 5.0.0 -> 5.1.0

Upgrade to release 5.1.0:

- Strip debugging symbols from Linux binaries

Add INSANE_SKIP for already-stripped to avoid build errors due to the stripped debugging symbols from Linux binaries in this release.

---
 .../{python3-ujson_5.0.0.bb => python3-ujson_5.1.0.bb}       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-ujson_5.0.0.bb => python3-ujson_5.1.0.bb} (78%)
meta-python/recipes-devtools/python/python3-ujson_5.1.0.bb renamed from meta-python/recipes-devtools/python/python3-ujson_5.0.0.bb +4 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-ujson_5.0.0.bb
rename to meta-python/recipes-devtools/python/python3-ujson_5.1.0.bb
index fb1bcd761..821eba58c 100644
@@ -4,7 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=10fa10456417c0252bcb8a498e498ffe"
 
-SRC_URI[sha256sum] = "3ff7242816b1d22c08c04c4c6db0f6ba7c16cd624ce38534c1025defa011e50e"
+SRC_URI[sha256sum] = "a88944d2f99db71a3ca0c63d81f37e55b660edde0b07216fb65a3e46403ef004"
 
 inherit pypi ptest setuptools3
 
@@ -31,3 +31,6 @@ do_install_ptest() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
+
+# Debugging symbols have been stripped from Linux binaries since release 5.1.0
+INSANE_SKIP:${PN} += "already-stripped"
Signature · 1 line
2.30.2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-ujson: Upgrade 5.0.0 -> 5.1.0

Quoted 31 lines · Leon Anavi

Upgrade to release 5.1.0:

- Strip debugging symbols from Linux binaries

Add INSANE_SKIP for already-stripped to avoid build errors due to the stripped debugging symbols from Linux binaries in this release.

---
  .../{python3-ujson_5.0.0.bb => python3-ujson_5.1.0.bb}       | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-ujson_5.0.0.bb => python3-ujson_5.1.0.bb} (78%)

meta-python/recipes-devtools/python/python3-ujson_5.1.0.bb renamed from meta-python/recipes-devtools/python/python3-ujson_5.0.0.bb +1 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-ujson_5.0.0.bb
rename to meta-python/recipes-devtools/python/python3-ujson_5.1.0.bb
index fb1bcd761..821eba58c 100644
@@ -4,7 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=10fa10456417c0252bcb8a498e498ffe"
 
-SRC_URI[sha256sum] = "3ff7242816b1d22c08c04c4c6db0f6ba7c16cd624ce38534c1025defa011e50e"
+SRC_URI[sha256sum] = "a88944d2f99db71a3ca0c63d81f37e55b660edde0b07216fb65a3e46403ef004"
 
  inherit pypi ptest setuptools3
 

meta-python/recipes-devtools/python/python3-ujson_5.1.0.bb do_install_ptest() { · line 36

Quoted 6 lines
meta-python/recipes-devtools/python/python3-ujson_5.1.0.bb renamed from meta-python/recipes-devtools/python/python3-ujson_5.0.0.bb +3 -0
@@ -31,3 +31,6 @@ do_install_ptest() {
  }
 
  BBCLASSEXTEND = "native nativesdk"
+
+# Debugging symbols have been stripped from Linux binaries since release 5.1.0
+INSANE_SKIP:${PN} += "already-stripped"

is it possible to disable this auto stripping via some build configs ? if so that would be better for debugability to let OE do the stripping operation

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94693): https://lists.openembedded.org/g/openembedded-devel/message/94693
Mute This Topic: https://lists.openembedded.org/mt/88266861/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#3 lore raw

PATCH 3/5 python3-astroid: Upgrade 2.9.0 -> 2.9.2

In reply to Leon Anavi

Upgrade to release 2.9.2:

- Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass`` was not accessible anymore.

---
 .../{python3-astroid_2.9.0.bb => python3-astroid_2.9.2.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-astroid_2.9.0.bb => python3-astroid_2.9.2.bb} (89%)
meta-python/recipes-devtools/python/python3-astroid_2.9.2.bb renamed from meta-python/recipes-devtools/python/python3-astroid_2.9.0.bb +1 -1
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-astroid_2.9.0.bb
rename to meta-python/recipes-devtools/python/python3-astroid_2.9.2.bb
index fee8acb1f..c504d4db3 100644
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
 
-SRC_URI[sha256sum] = "5939cf55de24b92bda00345d4d0659d01b3c7dafb5055165c330bc7c568ba273"
+SRC_URI[sha256sum] = "72ace9c3333e274e9248168fc4f3e300da8545af1c303bd69197027f49e2bfff"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.30.2
author
#4 lore raw

PATCH 4/5 python3-robotframework: Upgrade 4.1.2 -> 4.1.3

In reply to Leon Anavi

Upgrade to release 4.1.3:

- Fix to a regression related to parsing reStructuredText files that was introduced in Robot Framework 4.1.2

---
 ...-robotframework_4.1.2.bb => python3-robotframework_4.1.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-robotframework_4.1.2.bb => python3-robotframework_4.1.3.bb} (92%)
meta-python/recipes-devtools/python/python3-robotframework_4.1.3.bb renamed from meta-python/recipes-devtools/python/python3-robotframework_4.1.2.bb +1 -1
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-robotframework_4.1.2.bb
rename to meta-python/recipes-devtools/python/python3-robotframework_4.1.3.bb
index 0c3de5da7..a40d047d7 100644
@@ -13,7 +13,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE_EXT = "zip"
 
-SRC_URI[sha256sum] = "7ea2454b847cfcb211e2906743c5c4a868ab096ab4ce1547ab102d91fb224443"
+SRC_URI[sha256sum] = "d2675cbe3e5a4c90be3ddb61be3b88cc0d6ff503c298ad8f8a78aad14e71e886"
 
 RDEPENDS:${PN} += " \
     ${PYTHON_PN}-shell \
Signature · 1 line
2.30.2
author
#5 lore raw

PATCH 5/5 python3-cantools: Upgrade 37.0.0 -> 37.0.1

In reply to Leon Anavi

Upgrade to release 37.0.1:

- Fix issue Wrong compare type in _check_signals_ranges_scaling()

---
 ...on3-cantools_37.0.0.bb => python3-cantools_37.0.1.bb} | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cantools_37.0.0.bb => python3-cantools_37.0.1.bb} (55%)
meta-python/recipes-devtools/python/python3-cantools_37.0.1.bb renamed from meta-python/recipes-devtools/python/python3-cantools_37.0.0.bb +8 -1
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-cantools_37.0.0.bb
rename to meta-python/recipes-devtools/python/python3-cantools_37.0.1.bb
index c8c2b2592..9642bc528 100644
@@ -3,10 +3,17 @@ HOMEPAGE = "https://github.com/eerimoq/cantools"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"
 
-SRC_URI[sha256sum] = "ac5f8901940693ce4b798e7ae07ed69a60856ae8a1ca47079088530813b57287"
+SRC_URI[sha256sum] = "5852ad9fd17ddd7b1a1ce87b21b000e7f5716b358cdac4fdaca13b3e292f4c99"
 
 PYPI_PACKAGE = "cantools"
 
 inherit pypi setuptools3
 
+RDEPENDS:${PN} += "\
+	${PYTHON_PN}-can \
+	${PYTHON_PN}-bitstruct \
+	${PYTHON_PN}-core \
+	${PYTHON_PN}-textparser \
+"
+
 CLEANBROKEN = "1"
Signature · 1 line
2.30.2