You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/02/23 14:37:00 UTC
[jira] [Resolved] (THRIFT-5099) Conflict between crosstest
requirements and environment checks during build (Python 3.3 or later is
required for proper operation)
[ https://issues.apache.org/jira/browse/THRIFT-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5099.
--------------------------------
Resolution: Duplicate
> Conflict between crosstest requirements and environment checks during build (Python 3.3 or later is required for proper operation)
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-5099
> URL: https://issues.apache.org/jira/browse/THRIFT-5099
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library, Test Suite
> Reporter: Jens Geyer
> Priority: Critical
> Labels: ci-failure
>
> The crosstest keeps complaining
> {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}
> but configure says Python can be used:
> {code}
> checking for a Python interpreter with version >= 2.6... python
> checking for python... /usr/bin/python
> checking for python version... 2.7
> checking for python platform... linux2
> checking for python script directory... ${prefix}/lib/python2.7/dist-packages
> checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
> ...
> Building Python Library ...... : yes
> Building Py3 Library ......... : no
> ...
> Python Library:
> Using Python .............. : /usr/bin/python
> Using Python version ...... : Python 2.7.17
> Using trial ............... : /usr/bin/trial
> {code}
> So obviously one piece of code is incorrect and needs to be fixed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)