This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 8c7de93ec0 GH-51345: [CI] Fix pipx install for `packaging` on Debian
(#51346)
8c7de93ec0 is described below
commit 8c7de93ec0c686057ed441528f9c5a7220710137
Author: tadeja <[email protected]>
AuthorDate: Tue Sep 15 16:59:04 2026 +0200
GH-51345: [CI] Fix pipx install for `packaging` on Debian (#51346)
### Rationale for this change
Fix #51345 uninstalling packaging 25.0 fails with `error:
uninstall-no-record-file`
(new `pipx 1.17.1` requires
[packaging>=26](https://github.com/pypa/pipx/blob/cf985e63f04175fe8739e3a233386296cbdc91fa/pyproject.toml#L43)
)
### What changes are included in this PR?
Add `--ignore-installed` flag to successfully install pipx
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #51345
Authored-by: Tadeja Kadunc <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
ci/scripts/install_gcs_testbench.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci/scripts/install_gcs_testbench.sh
b/ci/scripts/install_gcs_testbench.sh
index e962e6f165..7f742a4da7 100755
--- a/ci/scripts/install_gcs_testbench.sh
+++ b/ci/scripts/install_gcs_testbench.sh
@@ -45,7 +45,7 @@ fi
: "${PIPX_PYTHON:=${PIPX_BASE_PYTHON:-$(which python3)}}"
export PIP_BREAK_SYSTEM_PACKAGES=1
-${PIPX_BASE_PYTHON} -m pip install -U pipx
+${PIPX_BASE_PYTHON} -m pip install -U --ignore-installed pipx
pipx_flags=(--verbose --python "${PIPX_PYTHON}")
if [[ $(id -un) == "root" ]]; then