qemu/tests/vm
Philippe Mathieu-Daudé 00ac955b06 tests/vm/netbsd: Use Python v3.11
We requiere the 'ninja-build', which depends on 'python311':

  $ pkgin show-deps ninja-build
  direct dependencies for ninja-build-1.11.1nb1
          python311>=3.11.0

So we end up installing both Python v3.10 and v3.11:

  [31/76] installing python311-3.11.5...
  [54/76] installing python310-3.10.13...
  [74/76] installing py310-expat-3.10.13nb1...

Then the build system picks Python v3.11, and doesn't find
py-expat because we only installed the 3.10 version:

  python determined to be '/usr/pkg/bin/python3.11'
  python version: Python 3.11.5

  *** Ouch! ***

  Python's pyexpat module is not found.
  It's normally part of the Python standard library, maybe your distribution packages it separately?
  Either install pyexpat, or alleviate the need for it in the first place by installing pip and setuptools for '/usr/pkg/bin/python3.11'.

  (Hint: NetBSD's pkgsrc debundles this to e.g. 'py310-expat'.)

  ERROR: python venv creation failed

Fix by installing py-expat for v3.11. Remove the v3.10
packages since we aren't using them anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231109150900.91186-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2023-11-13 11:35:47 +01:00
..
generated tests/docker: add python3-tomli dependency to containers 2023-08-28 09:55:48 +02:00
aarch64vm.py python: create qemu packages 2021-06-01 16:21:21 -04:00
basevm.py tests/vm: avoid invalid escape in Python string 2023-10-17 15:20:53 +02:00
centos tests/vm: Remove docker cross-compile test from CentOS VM 2022-07-18 20:24:36 +02:00
centos-8-aarch64.ks tests/vm: Added a new script for centos.aarch64. 2020-07-11 15:52:59 +01:00
centos.aarch64 lcitool: drop perl from QEMU project/dependencies 2023-02-02 10:44:23 +00:00
conf_example_aarch64.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
conf_example_x86.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
freebsd tests/vm/freebsd: Add additional library paths for libfdt 2023-10-27 09:47:19 +02:00
haiku.x86_64 tests/vm/haiku.x86_64: Update the Haiku VM to Beta 4 2023-01-18 12:27:21 +01:00
Makefile.include tests/: spelling fixes 2023-09-08 13:08:52 +03:00
netbsd tests/vm/netbsd: Use Python v3.11 2023-11-13 11:35:47 +01:00
openbsd tests/vm/openbsd: Use the system dtc package 2023-10-31 13:28:13 +00:00
README docs: Add docs/devel/testing.rst 2018-02-08 09:23:07 +08:00
ubuntu.aarch64 tests/vm/ubuntu.aarch64: Correct comment about TCG specific delay 2023-11-07 12:13:27 +01:00
ubuntuvm.py tests/: spelling fixes 2023-09-08 13:08:52 +03:00

See docs/devel/testing.rst for help.