[
https://issues.apache.org/jira/browse/MESOS-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543703#comment-16543703
]
Kevin Klues commented on MESOS-9075:
------------------------------------
{noformat}
commit dd07b14df02d1a944004e63a03d97161c413e706
Author: Armand Grillet <[email protected]>
Date: Fri Jul 13 22:10:46 2018 +0200
Fixed virtualenv management in support directory.
The switch from Python 2 to Python 3 creates problems with managing the
virtual environment in the support directory if a developer regularly
toggles between Python 2 and 3. For example, we want the virtual
environment to always use the same version of Python the user uses to
invoke the python linter from the command line through mesos-style.py.
This commit fixes the issue by adding a new check in the function of
`mesos-style.py` called `should_build_virtualenv` to see if the Python
interpreter version currently used is the one in the virtual
environement. If not, the virtual environment will get recreated.
Review: https://reviews.apache.org/r/67910/
{noformat}
> Virtualenv management in support directory is buggy.
> ----------------------------------------------------
>
> Key: MESOS-9075
> URL: https://issues.apache.org/jira/browse/MESOS-9075
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.7.0
> Reporter: Armand Grillet
> Assignee: Armand Grillet
> Priority: Major
> Fix For: 1.7.0
>
>
> When switching back and forth from Python 2 to 3, the virtualenv does not get
> correctly reinstalled.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)