Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj ca40b88cff python3-genson: add python3-wheel-native to DEPENDS
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer
add python3-wheel-native to DEPENDS by default, following oe-core
commit e546c697b7 ("classes/setuptools3: remove wheel dependency"),
since setuptools >= 70.1.0 no longer needs the external wheel package
to build a wheel.

This recipe's pyproject.toml/setup.py still declares wheel as a build
requirement, so pyproject-build's --no-isolation dependency check now
fails:

  ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
  	wheel
  		wanted: any
  		found: not installed

Add python3-wheel-native to DEPENDS directly to satisfy it.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 13:01:40 -07:00
Leon Anavi ad51aba1a7 python3-genson: Enable tests
Inherit ptest and include tests for genson. The PyPI package
omits files for testing so use the GitHub source instead.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-07 00:29:02 -07:00
Leon Anavi 8e729d2423 python3-genson: Upgrade 1.3.0 -> 1.4.0
Upgrade to release 1.4.0:

- add enum support, activated per node by seed schemas
- Performance: strategy deduplication when defining custom
  SchemaBuilder classes is now O(n) instead of O(n2)
- include the complete, runnable test suite in the source
  distribution
- Bugfix: fix "noting to do" typo in the CLI error message
  and remove dead code
- Docs: document the required-dropping behavior and the
  builder-merge gotcha; explain why same-type inputs merge
  rather than producing anyOf; add a NoRequiredObject example
  for suppressing required
- declare python_requires >= 3.10, matching the tested Python
  versions

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-07 00:29:02 -07:00