From b918398f8bf23095c8662c4a38e6ba5e7948a78d Mon Sep 17 00:00:00 2001 From: David Mears <60350599+david-mears-2@users.noreply.github.com> Date: Tue, 17 Mar 2026 13:41:12 +0000 Subject: [PATCH] Update installation instructions for packit-deploy On packit-dev.dide.ic.ac.uk, installing packit-deploy with pip or pip3 does not work (regardless of the presence of the --user flag): it gives the error 'error: externally-managed-environment', which goes on to encourage the use of a virtual environment, and lists pipx as an option for doing so. Looking at shell history on that host, this seems to be our de facto installation pattern. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 379be3d..64094df 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ First, install the deploy tool ``` -pip3 install --user packit-deploy +pipx install packit-deploy ``` Ensure that the path that the script is copied into is in your path (on Linux, most likely `~/.local/bin`, on OSX `~/Library/Python//bin` @@ -42,7 +42,8 @@ packit start config It is possible that the `packit-deploy` deploy scripts should be updated ``` -pip3 install --user --upgrade packit-deploy +pipx uninstall packit-deploy +pipx install packit-deploy ``` Then redeploy with: