tqchen opened a new issue #4957: [RFC] Introduce python3.6 requirement URL: https://github.com/apache/incubator-tvm/issues/4957 We kept the python 3.5 compatibility for the 0.6 release. This is an RFC propose to require python3.6 in the 0.7 release cycle. ## 3.6 Features that could Benefit the Project There are two features which would be relevant for us `f-string` and `type annotation in class objects`. While f-string is more like a sugar that can be replaced in another way. Class object type annotation would be more critical for potential new features we want to develop. In particular, given the first-class python support goal we set, we will likely introduce more python DSLs that involves python AST, parsing. The following snipet gives a possible mock up API that parses a python object definition to define an ADT(which requires 3.6). ```python @tvm.hybrid.object class ADTObject: field_A : int field_B : float ``` ## Availability - python3.6 was released in Dec 2016(three years ago) - ubuntu 16.04 still defaults to python 3.5, while ubuntu 18.04 supports 3.6 - There are ppas in 16.04 which could gain 3.6 support
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
