@core-devs and everyone in the community.
What is everyone’s thought about dropping Python 3.6? It officially is supported until the end of this year.
By way of context, we dropped Python 3.5 support in version 19.6.2 ahead of its end of life in September 2020. It support was maintained by Sanic only through the LTS 18.12.
I am proposing that we do something similar. First, Python 3.7 saw some new features for the asyncio server that Sanic uses under the hood. Second, I would like to take advantage of some of the typing enhancements as a part of #2006. Third, there is a proposal to add some additional context aware variables that would be much easier to build with constextvars
.
Therefore, I think that we should bump the officially support version for v21.3 to Python 3.7. We will continue to support Python 3.6 via the 20.12LTS release.
In the past few days, it looks like there were about 4,704 installs on Python 3.6, which amounts to approximately 0.18% of all installs.
Any objections?