[
https://issues.apache.org/jira/browse/MESOS-9075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543699#comment-16543699
]
Kevin Klues commented on MESOS-9075:
------------------------------------
{noformat}
commit 4a02bbca61be7451df99f89fc2b99615cc5a7064
Author: Armand Grillet <[email protected]>
Date: Fri Jul 13 22:02:41 2018 +0200
Fixed `build-virtualenv` to correctly clear virtual environment.
Running `build-virtualenv` with Python 3 followed by running it again
with Python 2 leaves the directory with both versions of Python in the
virtualenv. This allows Python 3 to still be used from within the
virtualenv, which is incorrect.
This is caused by a long outstanding issue in `virtualenv` that we now
handle by unconditionally removing the 'support/.virtualenv' directory
before building it again.
Review: https://reviews.apache.org/r/67911/
{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
>
> 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)