lzma broken in Python installation
As flagged by @jojamies:
~ ❯ docker run -it --rm gitlab-registry.cern.ch/atlas/statanalysis:main
[...]
[bash][atlas]:workdir > python
impPython 3.10.6 (main, Sep 13 2023, 19:27:47) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lzma
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/StatAnalysis/999.999.999/InstallArea/x86_64-centos7-gcc11-opt/lib/python3.10/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
This affects all versions I am aware of. A possible fix might be installing xz-devel
into the base image at https://gitlab.cern.ch/atlas/StatAnalysis/-/blob/0ea3a138066954ecabc3c353245d7ba99bf3bcc2/docker/baseImage/Dockerfile#L9.