Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
If a user tries to enable Python support in an autotools build, but a python3 is found, they will currently see
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'
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.
Attachments
Issue Links
- is related to
-
MESOS-355 Python 3.x support for C extensions
- Resolved