From 302a6ed1955aaaa2c0920f1d398e2d87d9030e0a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 4 Aug 2025 16:33:35 +0800 Subject: python3-pymodbus: upgrade 3.9.2 -> 3.10.0 License-Update: Copyright year updated to 2025 Changelog: ========== - Raise runtimeerror if listen() fails. - Correct values parameter in setValues. - Correct return from getValues. - Add request fc to exceptionResponse. - DummyProtocol is not async - Handle "little" for multiple values in to_registers - Remove unused const. - Add retries to ModbusPDU class - Don't invoke trace_connect callback twice - ensure unpacking of proper length during decoding - README clean-up - Bump coverage to 95,5% - Simplify response rejection. - Bump coverage to 93%. - Solve ModbusDeviceContext bug. - Bit handling LSB -> MSB across bytes. - Change slave to device_id and slave= to device_id=. - Remove payload. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pymodbus_3.10.0.bb | 31 ++++++++++++++++++++++ .../python/python3-pymodbus_3.9.2.bb | 31 ---------------------- 2 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pymodbus_3.10.0.bb delete mode 100644 meta-python/recipes-devtools/python/python3-pymodbus_3.9.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_3.10.0.bb b/meta-python/recipes-devtools/python/python3-pymodbus_3.10.0.bb new file mode 100644 index 0000000000..17846ece00 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymodbus_3.10.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "A fully featured modbus protocol stack in python" +HOMEPAGE = "https://github.com/riptideio/pymodbus/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=12a490c6cffa2e76a6df8aa1fa29e183" + +SRC_URI[sha256sum] = "5b7ce71f9da2fabd1f8484de564a7e2c56085e94e3d4ee2a0fbc14c59dfa9da7" + +inherit pypi python_setuptools_build_meta + +PACKAGECONFIG ??= "" +PACKAGECONFIG[repl] = ",,,python3-aiohttp python3-click python3-prompt-toolkit python3-pygments python3-pyserial-asyncio" +PACKAGECONFIG[asyncio] = ",,,python3-pyserial-asyncio" +PACKAGECONFIG[tornado] = ",,,python3-tornado" +PACKAGECONFIG[twisted] = ",,,python3-twisted-conch" +PACKAGECONFIG[redis] = ",,,python3-redis" +PACKAGECONFIG[sql] = ",,,python3-sqlalchemy" + +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-core \ + python3-io \ + python3-json \ + python3-logging \ + python3-math \ + python3-netserver \ +" + +RDEPENDS:${PN} += " \ + python3-pyserial \ + python3-six \ +" diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_3.9.2.bb b/meta-python/recipes-devtools/python/python3-pymodbus_3.9.2.bb deleted file mode 100644 index afede52161..0000000000 --- a/meta-python/recipes-devtools/python/python3-pymodbus_3.9.2.bb +++ /dev/null @@ -1,31 +0,0 @@ -SUMMARY = "A fully featured modbus protocol stack in python" -HOMEPAGE = "https://github.com/riptideio/pymodbus/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" - -SRC_URI[sha256sum] = "2d08ab7bf6d1abc55a87f4faa3a7b04f74d7310b8c9771c3d66ee5fccf2e25ac" - -inherit pypi python_setuptools_build_meta - -PACKAGECONFIG ??= "" -PACKAGECONFIG[repl] = ",,,python3-aiohttp python3-click python3-prompt-toolkit python3-pygments python3-pyserial-asyncio" -PACKAGECONFIG[asyncio] = ",,,python3-pyserial-asyncio" -PACKAGECONFIG[tornado] = ",,,python3-tornado" -PACKAGECONFIG[twisted] = ",,,python3-twisted-conch" -PACKAGECONFIG[redis] = ",,,python3-redis" -PACKAGECONFIG[sql] = ",,,python3-sqlalchemy" - -RDEPENDS:${PN} += " \ - python3-asyncio \ - python3-core \ - python3-io \ - python3-json \ - python3-logging \ - python3-math \ - python3-netserver \ -" - -RDEPENDS:${PN} += " \ - python3-pyserial \ - python3-six \ -" -- cgit v1.2.3-54-g00ecf