From: Lott, Christopher (cl778h) Date: Thu, 23 Jan 2020 18:19:31 +0000 (-0500) Subject: Catchup release notes for python-tools-install.sh X-Git-Tag: v0.50.0~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F62916%2F4;p=releng%2Fglobal-jjb.git Catchup release notes for python-tools-install.sh Change-Id: I5964d216a89e629c86e56b2a0e6e49fa352368c2 Signed-off-by: Lott, Christopher (cl778h) --- diff --git a/releasenotes/notes/python-tools-install-85c652e7963b3c6d.yaml b/releasenotes/notes/python-tools-install-85c652e7963b3c6d.yaml new file mode 100644 index 00000000..b51815ae --- /dev/null +++ b/releasenotes/notes/python-tools-install-85c652e7963b3c6d.yaml @@ -0,0 +1,14 @@ +--- +fixes: + - | + Revise python-tools-install.sh to drop creation of virtualenv + in ~/.local. That is NOT a Python virtualenv and should not be + created as such. Using `--user` installs python modules into + ~/.local/lib/PYTHON_VERSION/site-packages. Making ~/.local a + virtualenv messes with the paths in site-packages and causes + runtime errors like this: + + ERROR: Can not perform a '--user' install. + User site-packages are not visible in this virtualenv. + + Reverts part of change I4b2d778f3fd81565c5dd009d50c969696faba0d2