You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ModuleNotFoundError: No module named '_lzma' when running tests for google-cloud-bigquery-storage #14884
When running tests for google-cloud-bigquery-storage using librarian, I get the following stack trace.
==================================== ERRORS ====================================
________________ ERROR collecting tests/unit/test_reader_v1.py _________________
ImportError while importing test module '/repo/packages/google-cloud-bigquery-storage/tests/unit/test_reader_v1.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.nox/unit-3-14-protobuf_implementation-upb/lib/python3.14/site-packages/fastavro/read.py:2: in <module>
from . import _read
fastavro/_read.pyx:10: in init fastavro._read
???
/usr/local/lib/python3.14/lzma.py:28: in <module>
from _lzma import *
E ModuleNotFoundError: No module named '_lzma'
During handling of the above exception, another exception occurred:
/usr/local/lib/python3.14/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/unit/test_reader_v1.py:22: in <module>
import fastavro
.nox/unit-3-14-protobuf_implementation-upb/lib/python3.14/site-packages/fastavro/__init__.py:47: in <module>
import fastavro.read
.nox/unit-3-14-protobuf_implementation-upb/lib/python3.14/site-packages/fastavro/read.py:4: in <module>
from . import _read_py as _read # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox/unit-3-14-protobuf_implementation-upb/lib/python3.14/site-packages/fastavro/_read_py.py:9: in <module>
import lzma
/usr/local/lib/python3.14/lzma.py:28: in <module>
from _lzma import *
E ModuleNotFoundError: No module named '_lzma'
Activity
chore(librarian): fix build for google-cloud-bigquery-storage (google…