mbox series

[kirkstone,v2,00/13] python 3.12 related fixes

Message ID 20240221194036.1804463-1-adrian.freihofer@siemens.com
Headers show
Series python 3.12 related fixes | expand

Message

Adrian Freihofer Feb. 21, 2024, 7:36 p.m. UTC
Changes in comparison to v2:
Fix oe-selftest errors
- https://errors.yoctoproject.org/Errors/Details/753468/
- https://errors.yoctoproject.org/Errors/Details/753470/
by adding one more commit: "oeqa/selftest/recipetool: expect meson.bb"

oe-selftest -a
Required tests failed (successes=502, skipped=6, failures=7, errors=3)

eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds: ERROR
eSDK.oeSDKExtSelfTest.test_install_libraries_headers: ERROR
runcmd.RunCmdTests.test_result_assertion: ERROR (0.01s)
runcmd.RunCmdTests.test_result_exception: ERROR (0.02s)
distrodata.Distrodata.test_checkpkg: FAILED (132.52s)
incompatible_lic.NoGPL3InImagesTests.test_core_image_full_cmdline_weston: FAILED (215.33s)
runtime_test.TestImage.test_testimage_apt: FAILED (807.54s)
runtime_test.TestImage.test_testimage_dnf: FAILED (1032.04s)
runtime_test.TestImage.test_testimage_install: FAILED (110.76s)
runtime_test.TestImage.test_testimage_virgl_gtk_sdl: FAILED (724.11s)
runtime_test.TestImage.test_testimage_virgl_headless: FAILED (0.04s)

Note: Some opengl/weston tests are currently also failing on master
on my setup. Not sure why. Lets wait for the opinion of the official
Fedora 39 runner.

For what ever reason recipetool seams to work differently on my machine.
  recipetool create -o https://github.com/mesonbuild/meson;rev=0.52.1
creates a recipe named meson.bb, not a recipe pyhton3-meson.bb.
Not sure if another is a patch required which fixes two test cases:
  test_recipetool_create_github
  test_recipetool_create_github_tarball
or if this depends on the host machine.

Adrian Freihofer (8):
  oeqa: replace deprecated assertEquals
  oeqa/selftest/recipetool: fix for python 3.12
  oeqa/selftest/recipetool: expect meson.bb
  oeqa/selftest/oelib/buildhistory: git default branch
  feature-microblaze-versions.inc: python 3.12 regex
  meta/lib/oeqa: python 3.12 regex
  meta/recipes: python 3.12 regex
  scripts: python 3.12 regex

Chris Laplante (1):
  recipetool/create_buildsys_python: use importlib instead of imp

Ross Burton (3):
  populate_sdk_ext: use ConfigParser instead of SafeConfigParser
  runqemu: add qmp socket support
  oeqa/selftest/recipetool: downgrade meson version to not use
    pyproject.toml

Trevor Gamblin (1):
  scripts/runqemu: fix regex escape sequences

 meta/classes/populate_sdk_ext.bbclass         |  2 +-
 .../feature-microblaze-versions.inc           |  2 +-
 meta/lib/oeqa/oetest.py                       |  2 +-
 meta/lib/oeqa/sdk/buildtools-cases/sanity.py  |  2 +-
 meta/lib/oeqa/selftest/cases/bblayers.py      |  2 +-
 meta/lib/oeqa/selftest/cases/devtool.py       |  2 +-
 meta/lib/oeqa/selftest/cases/fitimage.py      |  6 +--
 meta/lib/oeqa/selftest/cases/liboe.py         |  2 +-
 .../oeqa/selftest/cases/oelib/buildhistory.py | 18 +++++++--
 meta/lib/oeqa/selftest/cases/recipetool.py    | 19 ++++++----
 .../perf/perf/sort-pmuevents.py               |  8 ++--
 meta/recipes-rt/rt-tests/files/rt_bmark.py    |  2 +-
 scripts/combo-layer                           |  2 +-
 scripts/contrib/bbvars.py                     |  6 +--
 scripts/contrib/convert-overrides.py          |  8 ++--
 scripts/lib/checklayer/__init__.py            |  4 +-
 scripts/lib/recipetool/create.py              | 12 +++---
 scripts/lib/recipetool/create_buildsys.py     | 38 +++++++++----------
 .../lib/recipetool/create_buildsys_python.py  |  5 +--
 scripts/oe-check-sstate                       |  2 +-
 scripts/oe-pkgdata-util                       |  2 +-
 scripts/opkg-query-helper.py                  |  2 +-
 scripts/runqemu                               | 19 ++++++++--
 23 files changed, 95 insertions(+), 72 deletions(-)