[ 
https://issues.apache.org/jira/browse/THRIFT-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042880#comment-17042880
 ] 

Mario Emmenlauer commented on THRIFT-5087:
------------------------------------------

[~jensg] I think this is perfect! I've come to the understanding that its not 
possible to test Python 2 and Python 3 from the same build, so I'd say using 
Python 3 for the test is perfectly valid. Can you update the Dockerfile and 
trigger a rebuild of the image? Then the Travis builds should work again, 
hooray!

But on a related topic: I think this implies that currently thrift *can* 
*build* with Python2 but it *can not* *test* with Python2. I'm not sure if this 
is intentional, and/or if this could be worked around somehow. Is it fine to 
leave Python2 tests off for the time being?

> test/test.py fails with "AssertionError: Python 3.3 or later is required for 
> proper operation."
> -----------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-5087
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5087
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>            Reporter: Jens Geyer
>            Priority: Critical
>
> {code}
> /usr/bin/python test/test.py --retry-count 5 --features .* 
> --skip-known-failures --server 
> cpp,c_glib,cl,d,java,csharp,py,,rb,hs,perl,php,go,nodejs,dart,erl,lua,rs,netstd,nodets
> Traceback (most recent call last):
>   File "test/test.py", line 45, in <module>
>     assert (cur_version >= req_version), "Python 3.3 or later is required for 
> proper operation."
> AssertionError: Python 3.3 or later is required for proper operation.
> Makefile:1129: recipe for target 'crossfeature' failed
> make: *** [crossfeature] Error 1
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to