Summary
The aiomqtt library depends on paho-mqtt, which has an optional dependency on PySocks for proxy support. Currently, aiomqtt does not include this optional dependency, making it difficult for users to leverage proxy functionality with aiomqtt without adding PySocks manually to requirements for their project.
Proposed Change
Add the optional dependency PySocks to the pyproject.toml of aiomqtt in [project.optional-dependencies] to align with the optional dependencies of paho-mqtt.
Details
The paho-mqtt library includes the following optional dependency in its pyproject.toml:
[project.optional-dependencies]
proxy = [
"PySocks",
]
Summary
The
aiomqttlibrary depends onpaho-mqtt, which has an optional dependency onPySocksfor proxy support. Currently,aiomqttdoes not include this optional dependency, making it difficult for users to leverage proxy functionality withaiomqttwithout addingPySocksmanually to requirements for their project.Proposed Change
Add the optional dependency
PySocksto thepyproject.tomlofaiomqttin[project.optional-dependencies]to align with the optional dependencies ofpaho-mqtt.Details
The
paho-mqttlibrary includes the following optional dependency in itspyproject.toml: