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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi authored and Khem Raj committed 2026-11-10 18:09:23 -08:00
1 parent 40ff061158
commit f455bbbfbd
1 file changed
+1 -1
@@ -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