thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-5099) Conflict between crosstest requirements and environment checks during build
Date Sun, 23 Feb 2020 14:35:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jens Geyer updated THRIFT-5099:
-------------------------------
    Labels: ci-failure  (was: )

> 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, 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)

Mime
View raw message