You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2018/02/16 11:42:00 UTC
[jira] [Created] (MESOS-8590) Configure should reject too new
python versions
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)