Files
meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_2.2.0.bb
T
Leon Anavi f455bbbfbd 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>
2026-11-10 18:09:23 -08:00

31 lines
833 B
BlitzBasic

SUMMARY = "MQTT version 3.1/3.1.1 client library"
LICENSE = "EPL-1.0 OR LicenseRef-EDL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \
file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \
"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "bcf706f03f1f49e0fc3ae166dc7b67ee35463496f8bdfd7c9c36181f6ba635c9"
do_install:append() {
install -d -m0755 ${D}${datadir}/${BPN}/examples
cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples
}
PACKAGES =+ "${PN}-examples"
RDEPENDS:${PN}-examples += "${PN} python3-core"
FILES:${PN}-examples = "${datadir}/${BPN}/examples"
RDEPENDS:${PN} = "\
python3-io \
python3-logging \
python3-math \
python3-netclient \
python3-threading \
"
BBCLASSEXTEND = "native nativesdk"