From f455bbbfbdc57e52a76605bdfceb0beb7b515ef2 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 10 Nov 2026 17:27:18 +0200 Subject: [PATCH] python3-paho-mqtt: Upgrade 2.1.0 -> 2.2.0 Upgrade to release 2.2.0: - Update supported Python versions. Drop support for Python 3.7 and 3.8. Deprecation notice: next release is expected to drop Python 3.9 and 3.10. - Possible breaking change: Change some exceptions from ValueError to TypeError (in max_queued_messages_set and Client callback_api_version parameter) The breaking change is unlikely however, both exceptions are expected to only be raised with broken code (e.g. need to pass wrong type - not just wrong value). - Type annotations fix: bytearray was missing as alternative of some payload - Add drop_out_messages to discard outgoing message queue. This could be needed if broker lost the session - Honor MQTTv5 Server Keep Alive from CONNACK Properties - Fix an keepalive disconnection when receiving large payload - Fix bug in inflight message tracking & QoS 2 message, which could result in negative counter - Various reinforcement against corrupted or malformed packets - Expose ReasonCode names as documentation said - Fix broken reinitialise() Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-paho-mqtt_2.1.0.bb => python3-paho-mqtt_2.2.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-paho-mqtt_2.1.0.bb => python3-paho-mqtt_2.2.0.bb} (89%) diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.2.0.bb similarity index 89% rename from meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb rename to meta-python/recipes-devtools/python/python3-paho-mqtt_2.2.0.bb index cecd98fca4..fbfbf064d6 100644 --- a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.2.0.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \ inherit pypi python_hatchling -SRC_URI[sha256sum] = "12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1723834" +SRC_URI[sha256sum] = "bcf706f03f1f49e0fc3ae166dc7b67ee35463496f8bdfd7c9c36181f6ba635c9" do_install:append() { install -d -m0755 ${D}${datadir}/${BPN}/examples