savoirfairelinux / num2words

Modules to convert numbers to words. 42 --> forty-two
GNU Lesser General Public License v2.1
820 stars 497 forks source link

Drop python 2 support #450

Closed eagleoflqj closed 2 years ago

eagleoflqj commented 2 years ago

Great project, thank you. I want to use it in SymPy Beta, which runs on pyodide. However, as num2words currently support python 2 and 3, its dependency of docopt cannot be switched to docopt-ng, which is a better-maintained fork of docopt and supports python 3 only. Pyodide can only load a pure python 3 wheel. To fulfill my requirement, I'm going to copy the files I need from num2words and maintain them myself, but I think num2words dropping python 2 support and upgrading dependency is a better choice. What do you think?

mrodriguezg1991 commented 2 years ago

We won't be supporting python 2 in the upcoming versions of the application, and all python 2 uses will be eventually remove