jason-riddle / ansible-role-tailscale

Tailscale on Linux.
https://galaxy.ansible.com/ui/standalone/roles/jason_riddle/tailscale/
MIT License
6 stars 0 forks source link

CI Build Failure - Requests 2.32.0 #110

Open jason-riddle opened 2 months ago

jason-riddle commented 2 months ago

CI builds have been failing with the following message

https://github.com/jason-riddle/ansible-role-tailscale/actions/runs/9312282509/job/25632835459#step:6:69

Error connecting: Error while fetching server API version: Not supported URL scheme http+docker

Some googling has led to this issue: https://github.com/docker/docker-py/issues/3256.

There appears to be an issue with both docker-py and requests 2.32.0.

The comments seem to suggest pinning the requests dependency to requests==2.31.0 until this issue gets resolved.

I need to modify https://github.com/jason-riddle/ansible-role-tailscale/blob/main/.github/workflows/ci.yml#L86 to the following

# TODO
# (2024-05-31) requests==2.32.0 is not compatible with docker-py
# See https://github.com/docker/docker-py/issues/3256
# Remove by 2024-07-15
pip3 install ansible molecule molecule-plugins[docker] docker requests==2.31.0