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 (see ansible/roles/prereq/tasks/deploy.yml). This worked fine until requests==2.32.2 was latest version available and 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". This caused the deployment step to fail the build.
Installing requests==2.31.0 now avoids that the install of docker==4.0.2 updates to the latest requests and makes the builds successful again
Related issue and scope
[ ] I opened an issue to propose and discuss this change (#????)
Use python requests 2.31.0.
Description
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 (see ansible/roles/prereq/tasks/deploy.yml). This worked fine until requests==2.32.2 was latest version available and 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". This caused the deployment step to fail the build.
Installing requests==2.31.0 now avoids that the install of docker==4.0.2 updates to the latest requests and makes the builds successful again
Related issue and scope
My changes affect the following components
Types of changes
Checklist: