From a0cd1869b2c8f0fd58156cbac9f79f41ab01dacd Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 28 Oct 2022 16:16:34 +0200 Subject: [PATCH] debian-buster-jenkins: add more pysim related deps Install all depends to properly generate the manuals. Otherwise it prints errors like the following and the resulting manual has empty sections: /build/docs/shell.rst:329: ERROR: Failed to import "LinFixedEF" from "pySim.filesystem". No module named 'smartcard' Get the requirements.txt directly from the git repository, so we don't need to update the list of dependencies here. Remove the dependencies from the list that I added recently for pysim, and which are are also in requirements.txt. Add swig, as otherwise pyscard fails to install. Related: OS#5497 Change-Id: I13a0b0dc8be81bf4034b08b1ef1100f1420fa3a1 --- debian-buster-jenkins/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian-buster-jenkins/Dockerfile b/debian-buster-jenkins/Dockerfile index ca11719a..44c2ee3a 100644 --- a/debian-buster-jenkins/Dockerfile +++ b/debian-buster-jenkins/Dockerfile @@ -143,14 +143,14 @@ RUN pip3 install \ 'git+https://github.com/eriwen/lcov-to-cobertura-xml.git' \ 'git+https://github.com/osmocom/sphinx-argparse@master#egg=sphinx-argparse' \ 'git+https://github.com/podshumok/python-smpplib.git' \ - 'construct>=2.9.51' \ 'pydbus' \ 'pylint' \ 'pysispm' \ - 'pytlv' \ - 'pyyaml>=5.1' \ 'sphinx' \ - 'sphinxcontrib-napoleon' + 'sphinxcontrib-napoleon' \ + 'swig' +ADD https://gitea.osmocom.org/sim-card/pysim/raw/branch/master/requirements.txt /tmp/pysim_requirements.txt +RUN pip3 install -r /tmp/pysim_requirements.txt # match the outside user RUN useradd --uid=1000 build