eclipse / paho.mqtt.python

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

Version compatibility bits (remove old compat code, bump requirement to 3.7+) #767

Closed akx closed 9 months ago

akx commented 9 months ago

With #757 and 0bc4d41ab51d2364df255e5b7f1033051f7b7bbf, it's clear that this library is not meant to support Pythons older than 3.7, so:

akx commented 9 months ago

@PierreF I see you pushed https://github.com/eclipse/paho.mqtt.python/commit/0bc4d41ab51d2364df255e5b7f1033051f7b7bbf to master – does this mean we should target Python 3.7+?

PierreF commented 9 months ago

Yes, I'm dropping support for Python 2 which cause trouble and Python 2 is EOL for long time. For that reason the next release I'll do is a 2.0 so we could do some breaking changes. Dropping support for Python 3.5 and 3.6 seems a good idea.

I've kept 3.7 because is was EOL only few months ago.

PierreF commented 9 months ago

BTW: could you add a Signed-Off to your commit ? This is a requirement from Eclipse to acknowledge you agree with the ECA.

akx commented 9 months ago

@PierreF Added signoffs and bumped the references to 3.6 to 3.7.