Unpin paho-mqtt version (#1238)

The new update to paho-mqtt, version 2.1.0, fixed the backward incompatible callback
signature problem by defaulting the callback type to paho-mqtt V1 style callbacks.
This means that packages can upgrade to paho-mqtt 2.1.0 or leave it at <2.0.0 without
any software changes.

This was originally pinned with #1065.
This commit is contained in:
Kenny Root 2024-11-15 01:06:55 -08:00 committed by GitHub
parent 01c1082ad8
commit f37dfbf5a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ cryptography
gntp
# Provides mqtt:// support
# use v1.x due to https://github.com/eclipse/paho.mqtt.python/issues/814
paho-mqtt < 2.0.0
# use any version other than 2.0.x due to https://github.com/eclipse/paho.mqtt.python/issues/814
paho-mqtt != 2.0.*
# Pretty Good Privacy (PGP) Provides mailto:// and deltachat:// support
PGPy

View File

@ -89,7 +89,7 @@ class NotifyMQTT(NotifyBase):
requirements = {
# Define our required packaging in order to work
'packages_required': 'paho-mqtt < 2.0.0'
'packages_required': 'paho-mqtt != 2.0.*'
}
# The default descriptive name associated with the Notification