[Build Failure] Zstandard is not available in our Python 3.14 build

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 🔵 Done
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      https://spruce.mongodb.com/task/motor_main__ssl~nossl_tox_env~test_py314_os~rhel8_test_latest_standalone_b81fd4e181489423026e5f5a1955e532217835c8_25_10_06_21_50_30/logs?execution=0

      ModuleNotFoundError: No module named '_zstd'

      [2025/10/06 17:06:35.569] test/asyncio_tests/test_aiohttp_gridfs.py:25: in <module>
      [2025/10/06 17:06:35.569]     import aiohttp
      [2025/10/06 17:06:35.569] .tox/test/lib/python3.14/site-packages/aiohttp/__init__.py:6: in <module>
      [2025/10/06 17:06:35.569]     from .client import (
      [2025/10/06 17:06:35.569] .tox/test/lib/python3.14/site-packages/aiohttp/client.py:40: in <module>
      [2025/10/06 17:06:35.569]     from . import hdrs, http, payload
      [2025/10/06 17:06:35.569] .tox/test/lib/python3.14/site-packages/aiohttp/http.py:7: in <module>
      [2025/10/06 17:06:35.569]     from .http_parser import (
      [2025/10/06 17:06:35.570] .tox/test/lib/python3.14/site-packages/aiohttp/http_parser.py:29: in <module>
      [2025/10/06 17:06:35.570]     from .compression_utils import (
      [2025/10/06 17:06:35.570] .tox/test/lib/python3.14/site-packages/aiohttp/compression_utils.py:25: in <module>
      [2025/10/06 17:06:35.570]     import compression.zstd  # noqa: I900
      [2025/10/06 17:06:35.570]     ^^^^^^^^^^^^^^^^^^^^^^^
      [2025/10/06 17:06:35.570] /opt/python/3.14/lib/python3.14/compression/zstd/__init__.py:29: in <module>
      [2025/10/06 17:06:35.570]     import _zstd
      

      ZStandard is an optional dependency. We'd need to add it to the build hosts where we create the toolchain.

      For now, we'll have to skip this test.

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: