Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getaddrinfo omits IPv6 info on macOS, Windows runners #2705

Closed
2 of 7 tasks
jaraco opened this issue Feb 13, 2021 · 3 comments
Closed
2 of 7 tasks

getaddrinfo omits IPv6 info on macOS, Windows runners #2705

jaraco opened this issue Feb 13, 2021 · 3 comments
Assignees
Labels
Area: Python investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS OS: Windows

Comments

@jaraco
Copy link

jaraco commented Feb 13, 2021

Description
In this run based on this minimal repro, I run a simple command that emits the result of the lookup of an internet name and asserts that it has IPv6 results:

python -c "import socket, pprint; pprint.pprint(socket.getaddrinfo('jaraco.com', None)); assert any(':' in item[4][0] for item in socket.getaddrinfo('jaraco.com', None))"

This command passes on Linux, but fails on macOS 10.15 and Windows 2019. The same command passes on my local macOS workstation (10.15 and 11.2) and Windows workstation a decade ago.

Area for Triage:
Area: Apple
Area: Containers
Area: Python

Question, Bug, or Feature?:
Bug

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Image version
macos-latest, windows-latest

Expected behavior
The image should have IPv6 enabled and be able to resolve names to IPv6 addresses on Python.

Actual behavior
IPv6 support appears to be incomplete.

jaraco added a commit to jaraco/jaraco.net that referenced this issue Feb 13, 2021
jaraco added a commit to jaraco/jaraco.net that referenced this issue Feb 13, 2021
@LeonidLapshin LeonidLapshin added Area: Python investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS OS: Windows and removed needs triage labels Feb 15, 2021
@vsafonkin vsafonkin self-assigned this Feb 16, 2021
@vsafonkin
Copy link
Contributor

Hi @jaraco, unfortunately, I don't know something about python' socket module implementation, but GitHub hosted runners are not supporting IPv6 at the moment: #668

@jaraco
Copy link
Author

jaraco commented Feb 26, 2021

In this case, I’m not even looking for IPv6 connectivity, only for the OS to have a functional IPv6 stack and to resolve IPv6 addresses over IPv4.

I don’t think the referenced issue is relevant because it’s about Linux and my tests pass on Linux runners. Also, that issue is closed.

is there a feature request thread I can follow where this deficiency can be tracked until it’s addressed?

@vsafonkin
Copy link
Contributor

@jaraco , I'm afraid there are no any threads to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Python investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS OS: Windows
Projects
None yet
Development

No branches or pull requests

3 participants