From 7c13759c892af36d8f93189ae8c16823b563e581 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Thu, 23 Jan 2020 13:19:31 -0500 Subject: [PATCH] Catchup release notes for python-tools-install.sh Change-Id: I5964d216a89e629c86e56b2a0e6e49fa352368c2 Signed-off-by: Lott, Christopher (cl778h) --- .../notes/python-tools-install-85c652e7963b3c6d.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 releasenotes/notes/python-tools-install-85c652e7963b3c6d.yaml 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 -- 2.16.6