Failed to build openai-whisper on aarm64 macos 14.5

I tried running openai-whisper but got an error when it was building. Has anyone had any problems with this package, and if so were there any solutions you found?
Not sure if mine is related to the platform it’s building on, but I am on:

macOS 14.5 aarm64

% nix run nixpkgs#openai-whisper                                                                                          1 ↵
error: builder for '/nix/store/ar2ryb4ighb0x0wlzkq0yb5947xa8slz-python3.11-dnspython-2.6.1.drv' failed with exit code 1;
       last 10 log lines:
       > E       AssertionError: False is not true
       >
       > tests/test_resolver_override.py:104: AssertionError
       > ----------------------------- Captured stdout call -----------------------------
       > NOT EQUIVALENT
       > [(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('2001:4860:4860::8888', 53, 0, 0)), (<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('2001:4860:4860::8844', 53, 0, 0))]
       > [(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('::ffff:8.8.4.4', 53, 0, 0)), (<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('::ffff:8.8.8.8', 53, 0, 0))]
       > =========================== short test summary info ============================
       > FAILED tests/test_resolver_override.py::OverrideSystemResolverTestCase::test_basic_getaddrinfo - AssertionError: False is not true
       > ========== 1 failed, 1292 passed, 51 skipped, 1 deselected in 14.39s ===========
       For full logs, run 'nix log /nix/store/ar2ryb4ighb0x0wlzkq0yb5947xa8slz-python3.11-dnspython-2.6.1.drv'.
error: 1 dependencies of derivation '/nix/store/p0mz7pdl4phzw4mh37prapf6dgd2sjxx-python3.11-email-validator-2.1.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bis1vfh2iv3q25f8kdnxhbagp9ldd2la-python3.11-eventlet-0.35.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8k25fiybk5c5qlyv8cjwbcrp750r71dj-python3.11-pymongo-4.6.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ilqipg2651gsrnhrsmd59mf9q7g45ilg-python3.11-gunicorn-21.2.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kbxj1wfxdiamy8kr10lg52r48glzjnm4-python3.11-mongoengine-0.28.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gxqqqd86pfflf3yx2zfnaflsqcm6dl8r-python3.11-pydantic-2.6.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xr0jvhj6i64kycldhw8sy142fbxk121n-python3.11-aiohttp-3.9.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m16and330zifvm0aiysr079qnhklmv47-python3.11-factory-boy-3.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/w7xrasvfbgzbcjjcn31knq5d11lz7jnz-python3.11-fsspec-2024.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iwd3qsrx5nbqqlx9rbb0ss5lcq4zgnmc-python3.11-google-auth-2.29.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vd3av215vc5ghsdp5wr9870rxk83i3ij-python3.11-torch-2.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/va1dijfl9y5ihn2zpjq9b5hhbc6ynfa6-python3.11-whisper-20231117.drv' failed to build
1 Like

I am having the same problem.
Looks like it is with regards to the ipv6 addresses returned to be not matching under

> NOT EQUIVALENT
       > [(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('2001:4860:4860::8888', 53, 0, 0)), (<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('2001:4860:4860::8844', 53, 0, 0))]
       > [(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('::ffff:8.8.4.4', 53, 0, 0)), (<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('::ffff:8.8.8.8', 53, 0, 0))]