eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.12k stars 722 forks source link

Provide wheels for older packages (< 2.0) #837

Closed Clockwork-Muse closed 2 months ago

Clockwork-Muse commented 2 months ago

Feature Description

I'm working with a small IoT device and Azure, using the azure-iot-device package. I would like to do a cross-build/package download, via something like this: pip download -d <destination dir> --platform manylinux2014_aarch64 <my project directory>

... unfortunately, this fails, because the azure package hasn't (yet) updated to 2.0.0, and the older packages don't have wheels.

Requested Solution

Please build and publish wheels for the older versions.

Alternatives

Given other features of the project cross-building inside of docker will likely be available to me, but may not be for others.

PierreF commented 2 months ago

We don't have the resource to support multiple branch of this library, adding build system from 2.0 version to 1.6 isn't something doable with our resource, and updating a existing release isn't good idea.

This library only had Python code, so you can build a wheel for any arch (pip wheel -w destdir "paho-mqtt==1.6.1").