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

Andrew Schwartzmeyer commented on MESOS-8882:
---------------------------------------------

I'm not sure I agree with this part:
{quote}All these areas need to be updated if we switch to Python 3, except 
maybe the Python bindings that should not be used anymore, in favor of our V1 
API.
{quote}
I think both the support scripts and CLI can be updated independently. It's 
realistic to assume most people already have {{python2/python3}} on their 
machine (or can get it) due to the longstanding split in the Python community.

Moreover, taking a Python 3 dependency for the support scripts does not imply 
that _Mesos_ has a Python 3 dependency, as the support scripts are not a 
required part of the build. I agree the CLI should also be in Python 3, which 
would change the dependency for that component, but just want to point out that 
this work can be done separately, and that Mesos can still be built without 
Python at all.

> Add Python 3 as a dependency and use it for our Python codebase
> ---------------------------------------------------------------
>
>                 Key: MESOS-8882
>                 URL: https://issues.apache.org/jira/browse/MESOS-8882
>             Project: Mesos
>          Issue Type: Epic
>          Components: cli, python api
>            Reporter: Armand Grillet
>            Priority: Major
>
> As mentioned by [~andschwa] [2 weeks 
> ago|https://mesos.slack.com/archives/C1LPTK50T/p1524165786000521], nothing 
> new should use Python 2. [~cinchurge] and [~ArmandGrillet] are currently 
> working on the CLI while being shepherded by [~klueska] and, as we plan to do 
> more work on it soon, mentioned again today that it would be a good time to 
> start using Python 3 in our codebase.
> We use Python 2 in four areas of the Mesos codebase:
> * In the support scripts.
> * In the new CLI.
> * In the new Mesos Python package.
> * In the Python bindings.
> All these areas need to be updated if we switch to Python 3, except maybe the 
> Python bindings that should not be used anymore, in favor of our V1 API.
> This new dependency would also require some changes in our documentation 
> regarding how to build Python. As it will be a change for Mesos devs, we have 
> to express the reasons behind this change and check if this change could 
> cause any issue on their side.



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

Reply via email to