It appears the issue is `socket.getaddrinfo()` does not work for IPv6 only hosts (links for context https://github.com/python/cpython/issues/54623, https://github.com/python/cpython/issues/82082, and https://bugs.python.org/issue10414). And while it does work for dual stack hosts, it seems until `socket.getaddrinfo()` is fixed (see latter of the github issues linked) using a higher level function to resolve the address info should work.
Marking as triaged
It appears the issue is `socket. getaddrinfo( )` does not work for IPv6 only hosts (links for context https:/ /github. com/python/ cpython/ issues/ 54623, https:/ /github. com/python/ cpython/ issues/ 82082, and https:/ /bugs.python. org/issue10414). And while it does work for dual stack hosts, it seems until `socket. getaddrinfo( )` is fixed (see latter of the github issues linked) using a higher level function to resolve the address info should work.
Marking as triaged