Skip to content

Commit

Permalink
Use python requests 2.31.0. (#5487)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
falkzoll authored May 23, 2024
1 parent 7863e27 commit 03a785c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/prereq/tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03a785c

Please sign in to comment.