robshakir / pyangbind

A plugin for pyang that creates Python bindings for a YANG model.
Other
204 stars 121 forks source link

Remove six #344

Closed JoseIgnacioTamayo closed 3 months ago

JoseIgnacioTamayo commented 9 months ago

Because there is only Python3 now

JoseIgnacioTamayo commented 8 months ago

I would like to get some opinions for this change. Python2 is gone, and we can stop using six as the code works on Python3. Of course, this breaks Python2... which might be OK to break?

xavier-contreras commented 8 months ago

IMO this is fine. Developer survey shows less than 7% still using python2 in 2022. I'd expect this to be lower now, see second link.

https://lp.jetbrains.com/python-developers-survey-2022/#PythonVersions

https://www.jetbrains.com/lp/devecosystem-2023/python/ (this shows 1%)