File skip-pip-upgrade.patch of Package python-pipx
Index: pipx-1.7.1/src/pipx/shared_libs.py
===================================================================
--- pipx-1.7.1.orig/src/pipx/shared_libs.py
+++ pipx-1.7.1/src/pipx/shared_libs.py
@@ -63,8 +63,10 @@ class _SharedLibs:
create_process = run_subprocess(
[DEFAULT_PYTHON, "-m", "venv", "--clear", self.root], run_dir=str(self.root)
)
+ return
subprocess_post_check(create_process)
+
# ignore installed packages to ensure no unexpected patches from the OS vendor
# are used
pip_args = pip_args or []