-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
It has been half a year since our last discussion #1602
Many projects officially deprecate python2 starting 2019. I would like to open this RFC again to see the community's opinion on this.
As per the previous discussion, embracing python3 allows us to make use of new features such as type annotation that enables better DSL, and makes cleaner code. It also makes us consistent with the rest of the python eco-system. Let us discuss two things:
When should the move happen
Such a big change will likely need to happen in a major release
- Do it now in the 0.6 release cycle since 0.5 has been released in 2019
- We need to send out early notifications to the user that this is happening and have clear error messages
- Do it in the 0.7 release cycle after 0.6 release
Which minimum version of python3 to depend on
- python3.5 This is the safest choice as suggested by many in the previous discussion
- python3.6 More features, type class support(annotate class members), although not strictly necessary in all places