From 03a785ce56a4c4ff945ffbf391562334e754be0a Mon Sep 17 00:00:00 2001 From: falkzoll Date: Thu, 23 May 2024 12:27:52 +0200 Subject: [PATCH] Use python requests 2.31.0. (#5487) - The previously installed requests==2.10.0 did not met the docker==4.0.2 requirements. Because of this pip always installed the latest version of requests when installing docker==4.0.2. This worked fine until requests==2.32.2 was installed. This version contained changes which made docker==4.0.2 package to fail with for example: "Error connecting: Error while fetching server API version: Not supported URL scheme http+docker". Installing requests==2.31.0 now avoids that the install of docker==4.0.2 updates to the latest requests. --- ansible/roles/prereq/tasks/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/prereq/tasks/deploy.yml b/ansible/roles/prereq/tasks/deploy.yml index afa8fcea2d1..1cb2ee13840 100644 --- a/ansible/roles/prereq/tasks/deploy.yml +++ b/ansible/roles/prereq/tasks/deploy.yml @@ -30,7 +30,7 @@ - name: install requests pip: name: requests - version: 2.10.0 + version: 2.31.0 become: true - name: install docker for python