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/16 12:09:00 UTC

[jira] [Created] (THRIFT-5099) Conflict between crosstest requirements and environment checks during build

Jens Geyer created THRIFT-5099:
----------------------------------

             Summary: Conflict between crosstest requirements and environment checks during build
                 Key: THRIFT-5099
                 URL: https://issues.apache.org/jira/browse/THRIFT-5099
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
            Reporter: Jens Geyer


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}







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