It's already the end of 2021. Python 2 has been officially unsupported for 2 years already. It seems like it may be a good moment to drop Python 2 support.
According to the PyPI stats, there are only 1-4% of users still on Python 2, and the number continues to decrease.
It's already the end of 2021. Python 2 has been officially unsupported for 2 years already. It seems like it may be a good moment to drop Python 2 support.
According to the PyPI stats, there are only 1-4% of users still on Python 2, and the number continues to decrease.
I suggest the following plan:
python_requires
directive set to Python 3 only (see post in Pallets blog about it).pyupgrade
.What do you think?