openembedded-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/2] python3-aiohue: Upgrade 2.6.1 -> 2.6.3
@ 2021-10-26 11:48 Leon Anavi
  2021-10-26 11:48 ` [meta-python][PATCH 2/2] python3-paho-mqtt: Upgrade 1.5.1 -> 1.6.1 Leon Anavi
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Anavi @ 2021-10-26 11:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 2.6.3:

- Guard for unexpected ID v1
- Guard for events without a v1 id

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/{python3-aiohue_2.6.1.bb => python3-aiohue_2.6.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-aiohue_2.6.1.bb => python3-aiohue_2.6.3.bb} (77%)

diff --git a/meta-python/recipes-devtools/python/python3-aiohue_2.6.1.bb b/meta-python/recipes-devtools/python/python3-aiohue_2.6.3.bb
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-aiohue_2.6.1.bb
rename to meta-python/recipes-devtools/python/python3-aiohue_2.6.3.bb
index c79a922a2..e9cbde84d 100644
--- a/meta-python/recipes-devtools/python/python3-aiohue_2.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohue_2.6.3.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"
 
-SRC_URI[sha256sum] = "1374f7fc50bac46375e18ce7d511515265ce83c9180f312e60a36d63055f0104"
+SRC_URI[sha256sum] = "ce9c240ca3eb1394c56503b403589f4d0ee7f93445a578b78da8b7879a65c863"
 
 inherit pypi setuptools3
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-python][PATCH 2/2] python3-paho-mqtt: Upgrade 1.5.1 -> 1.6.1
  2021-10-26 11:48 [meta-python][PATCH 1/2] python3-aiohue: Upgrade 2.6.1 -> 2.6.3 Leon Anavi
@ 2021-10-26 11:48 ` Leon Anavi
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Anavi @ 2021-10-26 11:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 1.6.1:

- Fix Python 2.7 compatilibity.
- Changed default TLS version to 1.2 instead of 1.0.
- Fix incoming MQTT v5 messages with overall property length > 127
  bytes being incorrectly decoded. Closes #541.
- MQTTMessageInfo.wait_for_publish() and MQTTMessageInfo.is_published()
  will now raise exceptions if called when the publish call
  produced an error.
- Remove periodic retry checks for outgoing messages with QoS>0.
  This means that outgoing messages will only be retried on the
  client reconnecting to the server. They will *not* be retried
  when the client is still connected.
- The `rc` parameter in the `on_disconnect` callback now has
  meaningful values in the case of an error.
- Callbacks can now be applied to client instances using decorators.
- PUBACK messages are now sent to the broker only after the
  on_message callback has returned.
- Raise exceptions when attempting to set MQTT v5 properties to
  forbidden values.
- Callbacks can now be updated from within a callback.
- Remove _out_packet_mutex and _current_out_packet_mutex and
  convert the _out_packet queue use to thread safe.
- Add basic MQTT v5 support to the subscribe and publish helper
  functions.
- Fix on_disconnect() sometimes calling the MQTT v3.x callback
  when it should call the MQTT v5 callback.
- Big performance improvement when receiving large payloads,
  particularly for SSL.
- Fix connecting with MQTT v5 to a broker that doesn't support
  MQTT v5.
- Removed ancient Mosquitto compatibility class.
- Fix exception on calling Client(client_id="", clean_session=False).
- Experimental support for Websockets continuation frames.
- `Properties.json()` now converts Correlation Data bytes()
  objects to hex.
- Only use the internal sockpair wakeup when running with
  loop_start() or loop(). This removes problems when running with
  an external event loop.
- Drain all of sockpairR bytes to avoid unnecessary wakeups and
  possible timeouts.
- Add timeout to MQTTMessageInfo:wait_for_publish().

License-Update: Update to EPL-2.0

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...hon3-paho-mqtt_1.5.1.bb => python3-paho-mqtt_1.6.1.bb} | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-paho-mqtt_1.5.1.bb => python3-paho-mqtt_1.6.1.bb} (68%)

diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb
similarity index 68%
rename from meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb
index 2d4e55abc..81a6d0a9c 100644
--- a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.6.1.bb
@@ -1,15 +1,13 @@
 SUMMARY = "MQTT version 3.1/3.1.1 client library"
 LICENSE = "EPL-1.0 | EDL-1.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \
-                    file://epl-v10;md5=8d383c379e91d20ba18a52c3e7d3a979 \
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \
                     file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \
 "
 SRCNAME = "paho-mqtt"
 
 inherit pypi setuptools3
 
-SRC_URI[md5sum] = "32f93c0ed92c7439f7a715ed258fd35d"
-SRC_URI[sha256sum] = "9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965cb1cae"
+SRC_URI[sha256sum] = "2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f"
 
 DEPENDS += "${PYTHON_PN}-pytest-runner-native"
 
@@ -20,7 +18,7 @@ do_install:append() {
 
 PACKAGES =+ "${PN}-examples"
 
-RDEPENDS:${PN}-examples += "${PN}"
+RDEPENDS:${PN}-examples += "${PN} ${PYTHON_PN}-core"
 
 FILES:${PN}-examples = "${datadir}/${BPN}/examples"
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-26 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 11:48 [meta-python][PATCH 1/2] python3-aiohue: Upgrade 2.6.1 -> 2.6.3 Leon Anavi
2021-10-26 11:48 ` [meta-python][PATCH 2/2] python3-paho-mqtt: Upgrade 1.5.1 -> 1.6.1 Leon Anavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).