From f0ad5e63763ea6fddcddc8a35fbcb8f03d40518e Mon Sep 17 00:00:00 2001
From: Michal Nasiadka <mnasiadka@gmail.com>
Date: Wed, 22 May 2024 11:38:00 +0200
Subject: [PATCH] CI: Pin requests to <2.32 for docker sdk

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/920172

Change-Id: Ieba0baf154ead063a1bc244aaadd4ca53c814ad3
---
 tests/setup_gate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh
index 46edc23b44..5cf7eba9a1 100755
--- a/tests/setup_gate.sh
+++ b/tests/setup_gate.sh
@@ -94,7 +94,7 @@ EOF
     python3 -m venv ~/kolla-venv
     source ~/kolla-venv/bin/activate
     if [[ "$CONTAINER_ENGINE" == "docker" ]]; then
-        pip install "${KOLLA_SRC_DIR}" "docker<7"
+        pip install "${KOLLA_SRC_DIR}" "docker<7" "requests<2.32"
     else
         pip install "${KOLLA_SRC_DIR}" "podman"
     fi