Skip to content

Commit cbc2ebd

Browse files
ovvtim-quix
authored andcommitted
requirements
1 parent 8066f1d commit cbc2ebd

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

conda/post-link.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ $PREFIX/bin/pip install \
88
'redis[hiredis]>=5.2.0,<6' \
99
'confluent-kafka[avro,json,protobuf,schemaregistry]>=2.8.2,<2.10' \
1010
'influxdb>=5.3,<6' \
11-
'jsonpath_ng>=1.7.0,<2'
11+
'jsonpath_ng>=1.7.0,<2' \
12+
'paho-mqtt>=2.1.0,<3'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ all = [
4444
"pandas>=1.0.0,<3.0",
4545
"elasticsearch>=8.17,<9",
4646
"influxdb>=5.3,<6",
47-
"paho-mqtt==2.1.0"
47+
"paho-mqtt>=2.1.0,<3"
4848
]
4949

5050
avro = ["fastavro>=1.8,<2.0"]
@@ -62,6 +62,7 @@ neo4j = ["neo4j>=5.27.0,<6"]
6262
mongodb = ["pymongo>=4.11,<5"]
6363
pandas = ["pandas>=1.0.0,<3.0"]
6464
elasticsearch = ["elasticsearch>=8.17,<9"]
65+
mqtt = ["paho-mqtt>=2.1.0,<3"]
6566

6667
# AWS dependencies are separated by service to support
6768
# different requirements in the future.

quixstreams/sinks/community/mqtt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
from paho import mqtt
1111
except ImportError as exc:
1212
raise ImportError(
13-
'Package "paho-mqtt" is missing: '
14-
"run pip install quixstreams[paho-mqtt] to fix it"
13+
'Package "paho-mqtt" is missing: ' "run pip install quixstreams[mqtt] to fix it"
1514
) from exc
1615

1716

0 commit comments

Comments
 (0)