Skip to content

Commit 02ead3d

Browse files
committed
requirements
1 parent 669d38a commit 02ead3d

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
@@ -5,4 +5,5 @@ $PREFIX/bin/pip install \
55
'protobuf>=5.27.2,<6.0' \
66
'influxdb3-python>=0.7,<1.0' \
77
'pyiceberg[pyarrow,glue]>=0.7,<0.8' \
8-
'redis[hiredis]>=5.2.0,<6'
8+
'redis[hiredis]>=5.2.0,<6' \
9+
'paho-mqtt>=2.1.0,<3'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ all = [
3838
"boto3>=1.35.65,<2.0",
3939
"boto3-stubs>=1.35.65,<2.0",
4040
"redis[hiredis]>=5.2.0,<6",
41-
"paho-mqtt==2.1.0"
41+
"paho-mqtt>=2.1.0,<3"
4242
]
4343

4444
avro = ["fastavro>=1.8,<2.0"]
@@ -51,6 +51,7 @@ pubsub = ["google-cloud-pubsub>=2.23.1,<3"]
5151
postgresql = ["psycopg2-binary>=2.9.9,<3"]
5252
kinesis = ["boto3>=1.35.65,<2.0", "boto3-stubs[kinesis]>=1.35.65,<2.0"]
5353
redis=["redis[hiredis]>=5.2.0,<6"]
54+
mqtt=["paho-mqtt>=2.1.0,<3"]
5455

5556
[tool.setuptools.packages.find]
5657
include = ["quixstreams*"]

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)