mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armand Grillet <>
Subject Re: Review Request 67910: Fixed virtualenv management in support directory.
Date Fri, 13 Jul 2018 16:38:33 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 13, 2018, 4:38 p.m.)

Review request for mesos and Kevin Klues.



Bugs: MESOS-9075

Repository: mesos

Description (updated)

The switch from Python 2 to Python 3 creates problems regarding the
virtual environment if a developer dangles between Python 2 and 3 as
we want the virtual environment to use the same version of Python as
the user to give useful logs when linting.

This commit fixes the issue by adding a new check in the function of
`` 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.

Diffs (updated)

  support/ 27ed553cb1d9e0c3c750b414eafe0144c3442c43 
  support/python3/ 350ef909e3e7a1c927140cf4475547d704ac2ad5 




Run the two `` and `build-virtualenv` with `MESOS_SUPPORT_PYTHON` set to 3 or
not. Checked that the python intepreter installed in the virtual environment was correct.


Armand Grillet

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message