Skip to content

Commit 03a785c

Browse files
authored
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.
1 parent 7863e27 commit 03a785c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/prereq/tasks/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- name: install requests
3131
pip:
3232
name: requests
33-
version: 2.10.0
33+
version: 2.31.0
3434
become: true
3535

3636
- name: install docker for python

0 commit comments

Comments
 (0)