diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2026-04-14 18:38:32 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-14 08:59:34 -0700 |
| commit | 8bf9ef44520e22aada0d20dd78eb3b924855a70f (patch) | |
| tree | 484e739835cb5ab74868fe91b02958fc3c4c5a72 /meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb | |
| parent | 85617f68bfd6dc62071425957e0ad3fddad32962 (diff) | |
| download | meta-openembedded-8bf9ef44520e22aada0d20dd78eb3b924855a70f.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.6.bb | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "golden master/snapshot/approval testing library which puts the values right into your source code" | ||
| 2 | HOMEPAGE = "https://15r10nk.github.io/inline-snapshot" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" | ||
| 5 | |||
| 6 | DEPENDS = "python3-hatchling-native" | ||
| 7 | SRC_URI[sha256sum] = "224a96eeb86c4b2831d274239d3468dc0b7819264f608f595b2f9d01f79a6e38" | ||
| 8 | |||
| 9 | inherit pypi python_hatchling | ||
| 10 | |||
| 11 | PYPI_PACKAGE = "inline_snapshot" | ||
| 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} = "python3-asttokens \ | ||
| 15 | python3-black \ | ||
| 16 | python3-click \ | ||
| 17 | python3-executing \ | ||
| 18 | python3-rich \ | ||
| 19 | python3-tomli \ | ||
| 20 | python3-typing-extensions \ | ||
| 21 | " | ||
