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

Stephen Souness commented on MESOS-8590:
----------------------------------------

Does this commit make this issue no longer relevant?

[https://github.com/apache/mesos/commit/e287647d77bf7dce9a39ce971bf9aafa46d4011c]

 

> 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
>            Priority: Major
>              Labels: autotools, newbie
>
> 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.
> For the time being a workaround for users is to make sure than 
> {{./configure}} find a python2 first.
> 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
(v8.3.4#803005)

Reply via email to