eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.19k stars 723 forks source link

pip install deprecation warning #706

Open andypiper opened 1 year ago

andypiper commented 1 year ago

Hello from a member of the original Paho team 🙂 thanks for continuing the great work!

On macOS Ventura, Python 3.11, pip 23.0

 DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py install' method, because 
it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will 
enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. 
Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for paho-mqtt ... done

There are workarounds listed (and the installation works and the library is fine), but Paho probably needs to be updated for the new pyproject.toml library metadata format.

semuadmin commented 1 year ago

Great library, but same issue here. Any timeline on pyproject.toml support?

I've submitted a PR which endeavours to address this: https://github.com/eclipse/paho.mqtt.python/pull/712

MattBrittan commented 9 months ago

I believe PR #774 (now committed) addresses this; would appreciate it if someone could confirm.