This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 7f049aa868 Temporary limit pipx to let our CI work (#36027)
7f049aa868 is described below

commit 7f049aa868b02f1f15f301943e6c2e09171dff0c
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Dec 2 19:05:11 2023 +0100

    Temporary limit pipx to let our CI work (#36027)
    
    Pipx 1.3.0 has a bug https://github.com/pypa/pipx/issues/1122 that
    makes our CI fail. Temporary limiting the version until the
    issue is fixed should mitigate the problem
---
 scripts/ci/install_breeze.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/ci/install_breeze.sh b/scripts/ci/install_breeze.sh
index d07ef765c6..9b8fbe84bf 100755
--- a/scripts/ci/install_breeze.sh
+++ b/scripts/ci/install_breeze.sh
@@ -19,6 +19,8 @@ set -euxo pipefail
 
 cd "$( dirname "${BASH_SOURCE[0]}" )/../../"
 
-python -m pip install "pipx>=1.2.1"
+# Limit `pipx` temporarily to avoid --force-reinstall added in a wrong place
+# Can be removed after https://github.com/pypa/pipx/issues/1122 is solved (and 
possibly yanked)
+python -m pip install "pipx>=1.2.1,!=1.3.0"
 python -m pipx install --editable ./dev/breeze/ --force
 echo '/home/runner/.local/bin' >> "${GITHUB_PATH}"

Reply via email to