mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
tests/docker: Add sqlite3 module to openSUSE Leap container
Avocado needs sqlite3: Failed to load plugin from module "avocado.plugins.journal": ImportError("Module 'sqlite3' is not installed. Use: sudo zypper install python311 to install it") >From 'zypper info python311': "This package supplies rich command line features provided by readline, and sqlite3 support for the interpreter core, thus forming a so called "extended" runtime." Include the appropriate package in the lcitool mappings which will guarantee the dockerfile gets properly updated when lcitool is run. Also include the updated dockerfile. Signed-off-by: Fabiano Rosas <farosas@suse.de> Suggested-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240117164227.32143-1-farosas@suse.de> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240207163812.3231697-2-alex.bennee@linaro.org>
This commit is contained in:
parent
5d1fc61441
commit
7485508341
3 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,7 @@ RUN zypper update -y && \
|
||||||
pcre-devel-static \
|
pcre-devel-static \
|
||||||
pipewire-devel \
|
pipewire-devel \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
|
python311 \
|
||||||
python311-base \
|
python311-base \
|
||||||
python311-pip \
|
python311-pip \
|
||||||
python311-setuptools \
|
python311-setuptools \
|
||||||
|
|
|
@ -59,6 +59,10 @@ mappings:
|
||||||
CentOSStream8:
|
CentOSStream8:
|
||||||
OpenSUSELeap15:
|
OpenSUSELeap15:
|
||||||
|
|
||||||
|
python3-sqlite3:
|
||||||
|
CentOSStream8: python38
|
||||||
|
OpenSUSELeap15: python311
|
||||||
|
|
||||||
python3-tomli:
|
python3-tomli:
|
||||||
# test using tomllib
|
# test using tomllib
|
||||||
apk:
|
apk:
|
||||||
|
|
|
@ -97,6 +97,7 @@ packages:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-sphinx
|
- python3-sphinx
|
||||||
- python3-sphinx-rtd-theme
|
- python3-sphinx-rtd-theme
|
||||||
|
- python3-sqlite3
|
||||||
- python3-tomli
|
- python3-tomli
|
||||||
- python3-venv
|
- python3-venv
|
||||||
- rpm2cpio
|
- rpm2cpio
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue