Benjamin Bannier created MESOS-8590:
---------------------------------------

             Summary: Configure should reject too new python versions
                 Key: MESOS-8590
                 URL: https://issues.apache.org/jira/browse/MESOS-8590
             Project: Mesos
          Issue Type: Bug
          Components: build, python api
            Reporter: Benjamin Bannier


If a user tries to enable Python support in an autotools build, but a python3 
is found, they will currently see
{noformat}
configure:24930: checking whether /usr/bin/python3 version >= 2.6
configure:24939: /usr/bin/python3 -c import sys, string # split strings by '.' 
and convert to numeric. Append some zeros # because we need at least 4 digits 
for the hex conversion. minver = map(int, string.sp
Traceback (most recent call last):
File "<string>", line 4, in <module>
AttributeError: module 'string' has no attribute 'split'
{noformat}

This is due to {{m4/python.m4}}'s {{AM_PYTHON_CHECK_VERSION}} not supporting 
python3.

We should check whether we can update this fill from a more recent upstream 
source; we want to think about consolidating our python-related m4 scripts at 
this time as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to