aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2020-04-21 14:31:08 +0000
committerJonathan Corbet <[email protected]>2020-04-28 18:52:02 +0000
commit412b09ddadd34e9be0d9a26e6de252361fafc237 (patch)
treec7f6b6aafd6609fe13e9cb902abc7afa1950827c /Documentation/filesystems/caching/netfs-api.rst
parentscripts: sphinx-pre-install: change recommendation text if venv exists (diff)
downloadkernel-412b09ddadd34e9be0d9a26e6de252361fafc237.tar.gz
kernel-412b09ddadd34e9be0d9a26e6de252361fafc237.zip
scripts: sphinx-pre-install: fix a bug when using with venv
When python3 creates a venv, it adds python into it! This causes any upgrade recommendation to look like this: /devel/v4l/docs/sphinx_1.7.9/bin/python3 -m venv sphinx_2.4.4 . sphinx_2.4.4/bin/activate pip install -r ./Documentation/sphinx/requirements.txt With is wrong (and it may not work). So, when recomending an upgrade, exclude the venv dir from the search path, and get the system's python. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Link: https://lore.kernel.org/r/aa622ff71bebf6960fc0262fb90e7ebc7a999a02.1587478901.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions