Drop Python 2 support #1253
Labels
Improvement
This is regarding an improvement to an existing feature
RFC
This is a Request For Comments
Task
This is a task related to the library
Milestone
With Python 2.7 reaching its EOL at the end of the year, I'd like to start planning to drop support for it.
It would increase maintainability and reduce a lot of the overhead required for compatibility, as well as allowing improvements that would be difficult to implement while supporting Python 2.
Specifically, I want to look into adding asynchronous support with asyncio (#732), i.e. async/await syntax, and maybe with aiohttp (or requests 3 if that's released soon), especially to replace the current threading method for streams.
I think the current plan should be for Tweepy
v3.9(v3.9 was released without noting that it would be the last version to support Python 2 in its changelog and release notes, so a v3.10 is planned) v3.10 to be the last version to support Python 2.7, and then for v4.0 to be Python3.5+(3.5 is also EOL now) 3.6+.The text was updated successfully, but these errors were encountered: