From 85a244c8f867bcf9a49360e6fc1304566478d178 Mon Sep 17 00:00:00 2001 From: Falk Zoll Date: Thu, 23 May 2024 08:07:20 +0200 Subject: [PATCH] Use python requests 2.31.0. - The previously requested requests==2.10.0 did not met the docker==4.0.2 requirements. Because of this pip always installed the latest version of requests. This worked until ok until requests==2.32.2 was installed. This version contained changes which made docker 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