paho.mqtt.python icon indicating copy to clipboard operation
paho.mqtt.python copied to clipboard

Roadmap for dropping support for Python 2

Open jamesmyatt opened this issue 7 years ago • 3 comments

Is there any roadmap for dropping support for Python 2, along the lines of https://python3statement.org/?

jamesmyatt avatar Mar 12 '18 16:03 jamesmyatt

@PierreF @ralight what do you guys think about this? I think it makes sense, but I am not sure how many people will be affected by this.

vrst37 avatar Mar 28 '19 09:03 vrst37

I am not involved in the Paho Python code at the moment, but take the stance that if upstream doesn't support something then neither should I. Support for 2.7 should go before 1st January 2020. I'd also support the suggestion to drop it before/as part of the MQTT v5 work.

ralight avatar Mar 28 '19 20:03 ralight

If there's any interest I'd be happy to work on this. In a similar vein, Python 3.6 is now out of support, so it could also be dropped.

knyghty avatar Feb 11 '22 14:02 knyghty

Python 2.7 support was implicitly dropped in 1.6.x.

Future versions will only support Python 3.7+: https://github.com/eclipse/paho.mqtt.python/blob/b29e31c8943702cd5fcc3dbddc505107c57eaaa8/pyproject.toml#L13

akx avatar Jan 03 '24 08:01 akx

I'm going to close this as the readme now states "It supports Python 3.7+" (and the next release should be out shortly).

MattBrittan avatar Jan 07 '24 23:01 MattBrittan