Commit 2fb493c
fix(e2e): bind wheel server to IPv4 explicitly on macOS
On macOS, python3 -m http.server without --bind calls getaddrinfo()
which returns AF_INET6 first, causing the server to bind to :: (IPv6).
Since macOS defaults IPV6_V6ONLY=1, the IPv6 socket does not accept
IPv4 connections, so uv connecting to 127.0.0.1 gets ETIMEDOUT.
Bind explicitly to 127.0.0.1 on macOS and 0.0.0.0 on Linux (where
podman containers need to reach the server via the host's routable IP).
Also replaces non-POSIX `which` with `command -v`.
Closes: #924
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>1 parent e06f12f commit 2fb493c
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
0 commit comments