From 511b1cbf8e9fa4151a28082e80e2d1c51decd6b7 Mon Sep 17 00:00:00 2001 From: ebner Date: Tue, 3 Feb 2026 15:09:07 +0100 Subject: [PATCH] add a hint how to disable the pypi caching proxy --- docs/admin-guide/configuration/software/python.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/admin-guide/configuration/software/python.md b/docs/admin-guide/configuration/software/python.md index 9416e09b..9b3968f1 100644 --- a/docs/admin-guide/configuration/software/python.md +++ b/docs/admin-guide/configuration/software/python.md @@ -76,3 +76,16 @@ For additional information on how to install packages (including `pip`) please c ```{note} The packages prefixed with `python3-` are for the default Default Python version. For newer versions RedHat has a versioned prefix like `python38-` or `python3.11-`. There might not be for all libraries packages for all availabe Python versions. Then you might need to install your library with `pip`. ``` + +### PYPI Package Caching Proxy + +By default all managed RHEL systems at PSI have configured a PYPI package caching proxy (pypi.psi.ch). This proxy is used by default for all `pip` installations on the system. + +If you want to disable this behavior you can use the following hiera key: + +```yaml +python::use_pip_cache: false +``` + +!!! note + If you once had the caching proxy configured, you might need to manually remove `/etc/pip.conf` to disable the proxy again before you apply this setting.