You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tvm.apache.org by Tianqi Chen <no...@github.com> on 2020/02/27 22:38:27 UTC

[apache/incubator-tvm] [RFC] Introduce python3.6 requirement (#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


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-tvm/issues/4957

Re: [apache/incubator-tvm] [RFC] Introduce python3.6 requirement (#4957)

Posted by Tianqi Chen <no...@github.com>.
#5057 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-tvm/issues/4957#issuecomment-598909211

Re: [apache/incubator-tvm] [RFC] Introduce python3.6 requirement (#4957)

Posted by Tianqi Chen <no...@github.com>.
Closed #4957.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-tvm/issues/4957#event-3128184318

Re: [apache/incubator-tvm] [RFC] Introduce python3.6 requirement (#4957)

Posted by Tianqi Chen <no...@github.com>.
see discussion thread https://discuss.tvm.ai/t/python3-5-vs-python3-6-requirement-for-0-7/5472

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-tvm/issues/4957#issuecomment-592213940