[
https://issues.apache.org/jira/browse/MESOS-8883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489794#comment-16489794
]
Armand Grillet commented on MESOS-8883:
---------------------------------------
I have prepared something:
{code}
Hi all,
Python 2.7 will retire on January 1, 2020 and we currently use it for
our support scripts, our Python bindings, and our new CLI.
Starting July 1, 2018 you will need to have Python 3.6 on your computer
in order to use the support scripts. It is available on all the
operating systems we support and even preinstalled on most recent Linux
distributions. This change is due to issues with our support scripts on
Windows and upcoming work on the CLI.
If you already have Python 3.6 installed on your machine, great.
Otherwise, you will see a deprecation message when you use the support
scripts and the related git hooks. Don't worry, these messages and the
switch to Python 3 do not change how the scripts work.
We now have a chain ready offering Python 3 support scripts alongside
the existing ones. Having a duplicated codebase is not sustainable and
we thus plan on deprecating the Python 2 support scripts by July 1st.
We want to have a few weeks to test these new scripts thoroughly and let
you install Python 3.6, this is why we have decided to have both
codebases during a few weeks.
If you want to use the new scripts, set in your environment the variable
`MESOSSUPPORTPYTHON` to `3` and run again the bash support script
`build-virtualenv`. You will then use the Python 3 scripts by default.
If you have any questions, please answer to this thread or join the
Mesos Slack channel #python3.
PS: This Python 3 switch does not apply to the rest of our codebase yet.
As we have seen in a previous thread, some developers still rely on the
Python 2 bindings and we do not want to disturb that.
{code}
> Send email to dev list concerning the Python 3 update
> -----------------------------------------------------
>
> Key: MESOS-8883
> URL: https://issues.apache.org/jira/browse/MESOS-8883
> Project: Mesos
> Issue Type: Task
> Affects Versions: 1.6.0
> Reporter: Armand Grillet
> Assignee: Andrew Schwartzmeyer
> Priority: Major
>
> Let's prepare an email for the dev community to express our wish and reasons
> to add a {{python3}} dependency to the Mesos codebase.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)