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

lukeroy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 03a785ce5 Use python requests 2.31.0. (#5487)
03a785ce5 is described below

commit 03a785ce56a4c4ff945ffbf391562334e754be0a
Author: falkzoll <[email protected]>
AuthorDate: Thu May 23 12:27:52 2024 +0200

    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 [...]
---
 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 afa8fcea2..1cb2ee138 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

Reply via email to