10565 Commits
Author SHA1 Message Date
Markus Volk 0369c15532 python3-html5lib: drop the six dependency
openembedded-core removed python3-six, so the recipe no longer resolves.
html5lib 1.1 only used six as a Python 2 compatibility layer; patch the
imports over to the Python 3 builtins and drop the runtime dependency.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
AI-Generated: Uses Claude Code (Claude Fable 5.1)
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-21 08:13:56 -07:00
Ross Burton 370780c0fd meta-python: remove obsolete dependencies on python3-six
These recipes no longer use six, so remove the dependency.

The list of recipes that still use six is a somewhat useful proxy for
packages that are no longer maintained...

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-21 08:13:54 -07:00
Ross Burton ce1713c062 python3-six: add (from oe-core)
Python 2 was end-of-lifed six years ago now, so move the python3-six
recipe from oe-core to meta-python.  Plenty of recipes still claim to
depend on it, but reviewing these is both a good way to review the
dependencies and potentially identify unmaintained packages.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-20 23:23:59 -07:00
Khem Raj 0d404d8ab3 python3-pylint: fix crash with astroid >= 4.2
pylint 4.0.8 passes asname=False to Import.infer(), a keyword argument
astroid 4.2 removed. With the astroid 4.3.1 in meta-python this makes
pylint crash on any import of a missing submodule:

  TypeError: NodeNG.infer() got an unexpected keyword argument 'asname'

which shows up in ptest as astroid-error in three functional tests:

  FAIL: tests/test_functional.py:test_functional[fallback_import_enabled]
  FAIL: tests/test_functional.py:test_functional[import_error]
  FAIL: tests/test_functional.py:test_functional[no_name_in_module]

Backport the pylint/ part of upstream commit 554b1d192434 ("Bump
astroid to 4.2.0b4"), which drops the argument.

meta-python-image-ptest-python3-pylint on qemux86-64 now passes
872 tests with none failing.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-12 16:52:16 -07:00
Khem Raj 084f3411c7 python3-dnspython: skip DDR tests when DDR is not available
test_basic_ddr_sync and test_basic_ddr_async only check that the
Internet is reachable. On networks that intercept port 53, 1.1.1.1 and
8.8.8.8 still answer ordinary queries but return NXDOMAIN for
_dns.resolver.arpa SVCB, so try_ddr() cannot upgrade the nameservers
and the tests fail:

  FAIL: tests/test_ddr.py:test_basic_ddr_sync
  FAIL: tests/test_ddr.py:test_basic_ddr_async
  assert isinstance('1.1.1.1', dns.nameserver.Nameserver)

Add a patch to skip them unless both resolvers return DDR SVCB records.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-12 16:52:16 -07:00
Khem Raj 9bfe6f0ea9 python3-fastnumbers: fix denoise of large floats when built with clang
float_as_int_without_noise() returns early when the floored value fits
in a long, checking it with floor_val == static_cast<long>(floor_val).
For values outside the range of long the conversion is undefined
behavior; clang -O2 folds the round trip into "floor_val is integral",
which is always true, so the denoising is skipped:

  FAIL: tests/test_fastnumbers_examples.py:test_try_real
  FAIL: tests/test_fastnumbers_examples.py:test_try_forceint
  assert 3452999999999999737856 == 3453000000000000000000

Add a patch that only does the conversion when the value is in range.
A reduced reproducer returns the wrong answer with the recipe's clang++
at -O2 and the right one with the fix (and with -O0 or gcc).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-12 16:52:16 -07:00
Khem Raj 549be445de python3-glances: install config and test data for ptest
tests/test_core.py runs glances with ./conf/glances.conf and reads plugin
test data from ./tests-data, both relative to the ptest directory.
Neither was installed, and tests-data is not part of the pypi sdist, so
four tests failed:

  test_023_get_alert: AssertionError: 'DEFAULT' != 'OK_LOG'
  test_025_npu: IndexError: list index out of range
  test_026_mpp: AssertionError: 0 != 3 : Expected 3 MPP engines
  test_108_fs_zfs_: AssertionError: False is not true

Fetch tests-data from the v4.5.6 tag and install it, together with
conf/, next to the tests. Only tests-data/plugins is used by the tests.

With these in place tests/test_core.py passes 52/52 on qemux86-64.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-12 16:52:16 -07:00
Khem Raj 9ed32b0779 python3-betamax: skip the live-network hook tests in ptest
tests/integration/test_hooks.py records live https://httpbin.org
requests (no cassettes are shipped for them), so the ptest fails
whenever the service resets the connection, e.g.:

  FAIL: tests/integration/test_hooks.py:TestHooks.test_post_start_hook
  requests.exceptions.ConnectionError: ('Connection aborted.',
    ConnectionResetError(104, 'Connection reset by peer'))

The same tests pass when the service behaves (3 out of 3 runs in a
qemux86-64 VM), so they are flaky rather than broken. Leave them out
of the ptest run.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-12 16:52:15 -07:00
Ross Burton fff60c4b27 tomcli: add new recipe
tomcli is a CLI for working with TOML files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-11 22:47:20 -07:00
Ross Burton cbec9a20d7 packagegroup-meta-python: remove python3-booleanpy
This was moved into oe-core, but it's entry in the packagegroup remained.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-08 10:15:58 -07:00
Ross Burton d739209e12 python3-paho-mqtt: remove obsolete DEPENDS
These dependencies are no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-05 09:06:42 -07:00
Ross Burton 03fc82303b python3-ordered-set: remove obsolete DEPENDS
These dependencies are no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-05 09:06:42 -07:00
Ross Burton c3085021b2 python3-mccabe: remove obsolete DEPENDS
These dependencies are no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-05 09:06:42 -07:00
Ross Burton cf2ed97c6d python3-astroid: remove obsolete DEPENDS
These dependencies are no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-05 09:06:42 -07:00
Ross Burton 9dd6f0c984 python3-arpeggio: remove obsolete DEPENDS
These dependencies are no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-05 09:06:42 -07:00
Leon Anavi 9412289154 python3-glances: Upgrade 4.3.2 -> 4.5.6
Upgrade to release 4.5.6:

Bugs corrected:

- Alert level decided by dict ordering: a failing+slow URL is
  downgraded to WARNING, an unscanned URL reports CRITICAL
- GPU plugin duplicates card name and omits N/A for unavailable
  metrics in multi-GPU
- GPU plugin duplicates the utilisation value and paints it with
  the memory colour in multi-GPU
- IP plugin displays wrong interface: outer loop in get_ip_address()
  never breaks
- VideoCore (v3d) memory shows ~93% on Raspberry Pi 5 with
  gpu_mem=4M - misleading denominator from drm-total-memory
- CSV export: --stdout-csv data rows desync from header when
  network interfaces change count at runtime
- Glances Network plugin with mismatched schema not logging in
  TimescaleDB export

Security patches:

- as_dict_secure() Value-Level Bypass Leaks Credentials in URL
  Values via /api/4/config - CVE-2026-68520
- --disable-config-exec does not cover on-alert action commands
  - CVE-2026-68519
- Command injection bypass of action-template sanitizer via
  cross-field shell-operator reconstruction - CVE-2026-68518
- Incomplete fix of CVE-2026-32608: action-template sanitizer is
  bypassed by nested stat values - CVE-2026-62982
- REST API CORS Credentials Guard Uses Exact-Match Instead of
  Membership Test - CVE-2026-68517

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:39 -07:00
Leon Anavi be3237b53c python3-cmd2: Upgrade 4.2.2 -> 4.2.3
Upgrade to release 4.2.3:

- Fix ty unresolved-attribute warnings and add mypy back
- Update ruff to version 0.16.5
- Bump github/codeql-action
- Update readme

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:39 -07:00
Ross Burton bb86317d97 python3-mlcommons-loadgen: remove redundant assignment
UPSTREAM_CHECK_PYPI_PACKAGE is set to the default values, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:39 -07:00
Ross Burton 8fa238d249 python3-prompt-toolkit: remove redundant assignment
UPSTREAM_CHECK_PYPI_PACKAGE is set to the default values, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:38 -07:00
Ross Burton 8708551b15 python3-paho-mqtt: remove redundant assignments
Both S and UPSTREAM_CHECK_PYPI_PACKAGE are set to the default values, so
remove them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:38 -07:00
Ross Burton 93e4e86854 python3-jstyleson: remove redundant PYPI_PACKAGE_EXT
".tar.gz" is the default value, so there's no need to set this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:38 -07:00
Ross Burton 00a0c3bacb python3-icu: remove redundant S assignment
This is the default value, so there's no need to set it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:38 -07:00
Ross Burton 91cac3259e python3-future: remove obsolete PYPI_PACKAGE_HASH
The need for PYPI_PACKAGE_HASH was removed in 2016[1].

[1] meta-oe 7edad4def4 ("pypi: update the base pypi url to use the
    package info without requiring the hash")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:38 -07:00
Ross Burton c493265bba python3-websocket-client: use right PEP517 build class
This package has a pyproject.toml so use the correct build class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00
Ross Burton 3809d75326 meta-python: remove redundant PYPI_PACKAGE assignments
Remove assignments to PYPI_PACKAGE where the value is the default value,
that is the recipe name with any python3- prefix removed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00
Ross Burton e2f053038c meta-python: remove redundant UPSTREAM_CHECK_PYPI_PACKAGE
Remove redundant UPSTREAM_CHECK_PYPI_PACKAGE assignments of PYPI_PACKAGE,
which is the default value.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00
Ross Burton 6e8cd5b08d python3-paho-mqtt: idiomatically set SRC_URI
Don't set PYPI_SRC_URI explicitly, instead of PYPI_PACKAGE so the correct
SRC_URI is generated.

Also remove the unused variable SRCNAME.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00
Ross Burton ba1725f20c python3-thrift: use PYPI_ARCHIVE_NAME_PREFIX
There's a variable to handle tarball conflicts, so use it instead of
appending to the SRC_URI directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00
Leon Anavi 591dc50dc1 python3-nocasedict: Upgrade 2.2.0 -> 2.2.1
Upgrade to release 2.2.1:

- Fixed safety issues up to 2026-08-23.
- Development: Tolerate premature deletion of local release/start
  branches.
- Docs: Migrated from our own support for generating summary tables
  in the documentation to using autodocsumm to fix an import error
  with Sphinx 9.
- Development: Added a GitHub Actions workflow named 'backport'
  that creates a backport PR to the latest stable branch stable_M.N
  when a PR labeled with the 'backport' label is merged.
- Development: Upgraded GitHub Actions plugins to versions that use
  node.js 24.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 13:23:13 -07:00
Leon Anavi 8d5b629c76 python3-charset-normalizer: Upgrade 3.4.9 -> 3.5.1
Upgrade to release 3.5.1:

- Raised upper bound of setuptools to v84 (#794)
- Cache performance access optimization for our CharInfo struct
  (prebuilt only).
- No longer decoding large content when the noise detector output
  give a high entropy. Only impacted large content input >1M bytes.

Deploy sample data files to fix tests.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 13:23:12 -07:00
Leon Anavi 31c8104ca5 python3-virtualenv: Upgrade 21.7.7 -> 21.7.8
Upgrade to release 21.7.8:

- A missing source needed by both install modes now disables the
  builtin creator through meta.error. The check compared RefWhen
  values against RefMust members, so creation went on to fail with
  a FileNotFoundError or a dangling symlink

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 13:23:12 -07:00
Wang Mingyu e99a849d12 python3-zeroconf: upgrade 0.150.0 -> 0.151.3
License-Update:
 - chore: preserve the historical copyright notices in COPYING

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:36 -07:00
Wang Mingyu 20e0ee7cf3 python3-wrapt: upgrade 2.3.0 -> 2.4.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:36 -07:00
Wang Mingyu 33c50aae9a python3-websocket-client: upgrade 1.9.0 -> 1.9.2
License-Update: Copyright year updated to 2026

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:36 -07:00
Wang Mingyu 4ca3f6f33f python3-typer: upgrade 0.27.1 -> 0.27.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:36 -07:00
Wang Mingyu ffcc7473cf python3-tox: upgrade 4.61.1 -> 4.61.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:36 -07:00
Wang Mingyu f9ca22a900 python3-responses: upgrade 0.26.2 -> 0.26.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:35 -07:00
Wang Mingyu 802a433d30 python3-regex: upgrade 2026.7.19 -> 2026.8.31
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:35 -07:00
Wang Mingyu 1df345dcff python3-pylint: upgrade 4.0.7 -> 4.0.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:35 -07:00
Wang Mingyu 1291293f66 python3-pyais: upgrade 3.2.1 -> 3.2.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:35 -07:00
Wang Mingyu 32677ed0fb python3-ninja: upgrade 1.13.0 -> 1.13.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:35 -07:00
Wang Mingyu f59db44de6 python3-msgpack: upgrade 1.2.1 -> 1.2.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:35 -07:00
Wang Mingyu 4141643ee2 python3-mmh3: upgrade 5.2.1 -> 5.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:34 -07:00
Wang Mingyu 438d5e72ac python3-kiwisolver: upgrade 1.5.0 -> 1.5.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:34 -07:00
Wang Mingyu 57bf108647 python3-ipython: upgrade 9.16.1 -> 9.17.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:34 -07:00
Wang Mingyu 09af582b3a python3-importlib-metadata: upgrade 9.0.0 -> 9.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:34 -07:00
Wang Mingyu 69402adc23 python3-google-auth: upgrade 2.56.3 -> 2.57.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:34 -07:00
Wang Mingyu 6c8ffdb960 python3-google-auth-oauthlib: upgrade 1.4.0 -> 1.4.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:34 -07:00
Wang Mingyu 30559247ab python3-engineio: upgrade 4.13.5 -> 4.14.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:33 -07:00
Wang Mingyu 92414891eb python3-coverage: upgrade 7.15.4 -> 7.16.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-03 07:30:33 -07:00