robshakir / pyangbind

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

Remove six #344

Open JoseIgnacioTamayo opened 4 months ago

JoseIgnacioTamayo commented 4 months ago

Because there is only Python3 now

JoseIgnacioTamayo commented 3 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 3 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%)