Message ID | 20250418105119.3211549-1-leon.anavi@konsulko.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-python,PATCHv2] python3-eth-utils: Upgrade 5.2.0 -> 5.3.0 | expand |
On Fri, Apr 18, 2025 at 3:51 AM Leon Anavi via lists.openembedded.org <leon.anavi=konsulko.com@lists.openembedded.org> wrote: > > 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 <leon.anavi@konsulko.com> > --- > ...python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > rename meta-python/recipes-devtools/python/{python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} (76%) > > 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 76% > 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..3b71684820 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,7 @@ RDEPENDS:${PN} += " \ > python3-eth-typing \ > python3-setuptools \ > python3-toolz \ > + python3-pydantic \ > " > + > +COMPATIBLE_HOST:riscv32 = "null" this should also be applied to recipes which depend upon python3-eth-utils > -- > 2.39.5 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#116947): https://lists.openembedded.org/g/openembedded-devel/message/116947 > Mute This Topic: https://lists.openembedded.org/mt/112328943/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Here is further recipes which need this check ERROR: Nothing RPROVIDES 'python3-eth-utils' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb, /home/yoe/sources/meta-openembedded/meta- ↪ python/recipes-devtools/python/python3-eth-account_0.12.1.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-rlp_4.1.0.bb RDEPENDS on or otherwise requires it) python3-eth-utils was skipped: incompatible with host riscv32-yoe-linux (not in COMPATIBLE_HOST) NOTE: Runtime target 'python3-eth-utils' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-utils'] ERROR: Nothing RPROVIDES 'python3-eth-abi' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-abi' NOTE: Runtime target 'python3-eth-abi' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-abi'] ERROR: Nothing RPROVIDES 'python3-eth-abi-dev' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-abi-dev' NOTE: Runtime target 'python3-eth-abi-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-abi-dev'] ERROR: Nothing RPROVIDES 'python3-eth-keys' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb, /home/yoe/sources/meta-openembedded/ ↪ meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-keys' NOTE: Runtime target 'python3-eth-keys' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-keys'] ERROR: Nothing RPROVIDES 'python3-eth-keyfile' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-keyfile' NOTE: Runtime target 'python3-eth-keyfile' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-keyfile'] ERROR: Nothing RPROVIDES 'python3-eth-keyfile-dev' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-keyfile-dev' NOTE: Runtime target 'python3-eth-keyfile-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-keyfile-dev'] ERROR: Nothing RPROVIDES 'python3-eth-keys-dev' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-keys-dev' NOTE: Runtime target 'python3-eth-keys-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-keys-dev'] ERROR: Nothing RPROVIDES 'python3-rlp' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb, /home/yoe/sources/meta-openembedded/meta- ↪ python/recipes-devtools/python/python3-rlp_4.1.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-rlp' NOTE: Runtime target 'python3-rlp' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-rlp'] ERROR: Nothing RPROVIDES 'python3-eth-rlp' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb, /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-rlp' NOTE: Runtime target 'python3-eth-rlp' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-rlp'] ERROR: Nothing RPROVIDES 'python3-eth-account-dev' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-account-dev' NOTE: Runtime target 'python3-eth-account-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-account-dev'] ERROR: Nothing RPROVIDES 'python3-eth-account' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.12.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-account' NOTE: Runtime target 'python3-eth-account' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-account'] ERROR: Nothing RPROVIDES 'python3-eth-rlp-dev' (but /home/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-eth-rlp-dev' NOTE: Runtime target 'python3-eth-rlp-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-eth-rlp-dev'] ERROR: Nothing RPROVIDES 'python3-rlp-dev' (but /home/oe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-rlp_4.1.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-rlp-dev' NOTE: Runtime target 'python3-rlp-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-rlp-dev'] On Fri, Apr 18, 2025 at 8:26 AM Khem Raj <raj.khem@gmail.com> wrote: > > On Fri, Apr 18, 2025 at 3:51 AM Leon Anavi via lists.openembedded.org > <leon.anavi=konsulko.com@lists.openembedded.org> wrote: > > > > 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 <leon.anavi@konsulko.com> > > --- > > ...python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > rename meta-python/recipes-devtools/python/{python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} (76%) > > > > 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 76% > > 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..3b71684820 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,7 @@ RDEPENDS:${PN} += " \ > > python3-eth-typing \ > > python3-setuptools \ > > python3-toolz \ > > + python3-pydantic \ > > " > > + > > +COMPATIBLE_HOST:riscv32 = "null" > > this should also be applied to recipes which depend upon python3-eth-utils > > -- > > 2.39.5 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#116947): https://lists.openembedded.org/g/openembedded-devel/message/116947 > > Mute This Topic: https://lists.openembedded.org/mt/112328943/1997914 > > Group Owner: openembedded-devel+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > > -=-=-=-=-=-=-=-=-=-=-=- > >
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 76% 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..3b71684820 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,7 @@ RDEPENDS:${PN} += " \ python3-eth-typing \ python3-setuptools \ python3-toolz \ + python3-pydantic \ " + +COMPATIBLE_HOST:riscv32 = "null"
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 <leon.anavi@konsulko.com> --- ...python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-eth-utils_5.2.0.bb => python3-eth-utils_5.3.0.bb} (76%)