From 8bf9ef44520e22aada0d20dd78eb3b924855a70f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 Apr 2026 18:38:32 +0800 Subject: python3-inline-snapshot: upgrade 0.32.5 -> 0.32.6 Fix: - Pydantic models, attrs and dataclasses with NewType-typed fields now generate correct snapshots that wrap the field value with the NewType constructor (e.g. Something(some_id=SomeID(1)) instead of Something(some_id=1)). This could only be fixed for Python >= 3.10. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-inline-snapshot_0.32.6.bb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb (limited to 'meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb') diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb new file mode 100644 index 0000000000..1bcd3a457f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb @@ -0,0 +1,21 @@ +SUMMARY = "golden master/snapshot/approval testing library which puts the values right into your source code" +HOMEPAGE = "https://15r10nk.github.io/inline-snapshot" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" + +DEPENDS = "python3-hatchling-native" +SRC_URI[sha256sum] = "224a96eeb86c4b2831d274239d3468dc0b7819264f608f595b2f9d01f79a6e38" + +inherit pypi python_hatchling + +PYPI_PACKAGE = "inline_snapshot" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +RDEPENDS:${PN} = "python3-asttokens \ + python3-black \ + python3-click \ + python3-executing \ + python3-rich \ + python3-tomli \ + python3-typing-extensions \ + " -- cgit v1.2.3-54-g00ecf