From 300aad71ca68f600635e5303653598418c844642 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 17 Apr 2025 15:32:31 +0300 Subject: [PATCH] python3-eth-utils: Upgrade 5.2.0 -> 5.3.0 Upgrade to release 5.3.0: - Replace arg["name"] with arg.get("name") to correctly handle optional names - Add new methods: to_wei_decimals, and from_wei_decimals which take a number instead of a string - Add CamelModel pydantic model for validating objects and serializing to camelCase when used with by_alias=True, with the general expectation of a well-formed JSON-RPC object. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} (80%) diff --git a/meta-python/recipes-devtools/python/python3-eth-utils_5.2.0.bb b/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb similarity index 80% rename from meta-python/recipes-devtools/python/python3-eth-utils_5.2.0.bb rename to meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb index 435d032a84..84db8b32b3 100644 --- a/meta-python/recipes-devtools/python/python3-eth-utils_5.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d3f53e7cc5bf80b16eff1f4a38c73182" -SRC_URI[sha256sum] = "17e474eb654df6e18f20797b22c6caabb77415a996b3ba0f3cc8df3437463134" +SRC_URI[sha256sum] = "1f096867ac6be895f456fa3acb26e9573ae66e753abad9208f316d24d6178156" PYPI_PACKAGE = "eth_utils" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" @@ -16,4 +16,5 @@ RDEPENDS:${PN} += " \ python3-eth-typing \ python3-setuptools \ python3-toolz \ + python3-pydantic \ "